No response from server

Hi friends,

I am trying to connect with the Jive server using smack API.

I am using

con = new XMPPConnection(“209.172.114.22”,80);[/b]

where i am giving IP and port . My client IP is 192.168.0.12.[/b]

But it isgiving Error as no response from serve[/b]r.

But when i am trying through other machines ,it is giving proper output.

Please help me.

Thanks in advanse.

Pallavi

Hi,

I have no problem creating a connection to this server. You could set XMPPConnection.DEBUG_ENABLED=true;

con = new XMPPConnection(“209.172.114.22”,80);[/code] before creating the connection, but I think that will not really help you. Are you behind an intelligent firewall which allows only HTTP for port 80?

Is it possible for you to connect the server with “telnet 209.172.114.22 80”? You should be able to type something like “” and it should reply with:

<?xml version=''1.0'' encoding=''UTF-8''?>

<stream:error xmlns:stream=“http://etherx.jabber.org/streams”>

</stream:error>

</stream:stream>

/code

LG