PHP Jabber Class Connection fail

Hey guys,

Firstly i used JSJaC library to connect to the openfire server it was successfull and i am able to communicate

but when i am trying to connect using PHP Jabber Class
[Link for this library: http://www.code.blitzaffe.com/pages/...r_client_52-11]

i tried to execute the example from the download archive by setting the host,user and password as required

but i am getting the error

"Created! Connecting … Could not connect to the Jabber server! "

i checked by changing the port number of the server also… but still i cant resolve the problem

if you guys know how to resolve this please let me know i was just trying and trying…

thanks