Connect to alternate server

I have connected to “allports.jabber.ru” (this is jabber.ru server, that listening allports (including 443)) using such instance:

“ConnectionConfiguration config = new ConnectionConfiguration(“allports.jabber.ru”, 443, myproxy)” and smack is substitutes “to=allports.jabber.ru” into XMMP string, but “to=jabber.ru” must be there Stream error unknown-host is invoked.

How can I fix it?