XMPPHP Could not connect after timeout

I am trying to create a web based PHP application which can allow chat to my Gmail friends. Something like meebo.com. I downloaded XMPPHP, and executed on localhost, and it is working fine, but when I uploaded everything to Yahoo Small business web hosting, it is throwing connection timeout error.

Do anyone else faced such problem. I heard many of them did, but no one have any solution yet.

Any suggestion will be very helpful. I am new to XMPP clients.


Just some ideas...

How are you trying to connect to the XMPP server? With XMPPHP you may use two classes which are


You might try both, since they work on different ports (XMPPHP for example on 5222 and XMPPHP_BOSH on 80). So if this is a port issue, trying XMPPHP_BOSH would be an idea. You will need to find out though if this is supported by the XMPP server you are trying to connect to. And if so, you need to know the url the server exposes the BOSH service on.

Anyways, I would recommend to check out what kind of 'restrictions' there are in Yahoo Small business web hosting and on the side of the XMPP server.

If you intend to check XMPPHP_BOSH out, consider this issue to make it work: Issue 47: Http-bind error. All in all XMPPHP seems very buggy and incomplete...

Need Your Help

Highlight sections of streets, based on address

google-maps google-static-maps

I'm wondering if the Google Static Maps API can be used to do the following. Given a data set of ~100 addresses all located on 5 to 7 different blocks in the same neighborhood, I want to generate a...

Why won't my text show in HTML?

html text

I am having a problem because my text won't show in HTML. Here is my code.