Clients unable to Connect to new Openfire install

I just installed Openfire 3.3.0 on a Solaris server. It is configured to use the HSQL embedded database and LDAP for user auth. I am able to log into the admin console with a LDAP user entry and can view user list.

I can not get connected with a client Spark or Pandion. The spark log contains this error:

XMPPError connecting to collab2.state.nj.us:5222.: remote-server-error(502) XMPPError connecting to collab2.state.nj.us:5222.

– caused by: java.net.ConnectException: Connection timed out: connect

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:830)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:638)

at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:178)

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:535)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)

at java.lang.Thread.run(Unknown Source)

Nested Exception:

java.net.ConnectException: Connection timed out: connect

I am using the xmpp.domain for the server name & a username@servername for username. I have a Wildfire 2.4.4 up and running on another server in the network which is working fine. I can telnet to port 5222 from my workstation to the Openfire server. The server is known to DNS and seems configured correctly.

Please help.

Found a firewall issue.