Spark Client setup error, Can't connect to server invalid name or server not reachable

I have server 2012 r2 Data-center .

For open-fire DB setup i have installed MS SQL Express 2012 and its services are working fine.

Open Fire, login fine, and have localhost as my server ip address

I created my own username. I have installed Spark locally, use IP address as my server – chat window opens without issues.

I have installed Spark on another computer in the network, who I am able to ping its IP address and able to ping server also from that machine.

when i loggeg in sprk useing new and lod both users created earlier i am getting error

Can’t connect to server invalid name or server not reachable

Is there any network or security step i have left to access spark on network.

I have already allowed firewall port also but still same issue .

Please any one guide me to troubleshoot this problem.

Try disabling firewall on the server or letting through 5222 TCP port.