Web Chat Setup Error - Could not connect to server

I have tried everything…

**Could not connect to server. Please check that the domain and port are valid. **

I verified the port is open correctly 5222, anon logins enabled, all security correct etc.

Tomcat 6.0.14

I will even pay for help on this issue.

Screen shot of error log attatched.

Help woul be appreciated.