Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a linux reseller account and i manage through WHM I have created a cpanel account for my client. He wanted the port 5222 to be open. I am not aware of it. How to check the status, and whether it is open or not? How to turn it on /off?

share|improve this question

closed as off-topic by Hyppy, mdpc, masegaloeh, Scott Pack, Jenny D May 2 '15 at 16:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Port 5222 is for the XMPP (aka. jabber) chat protocol.… This would need to be opened for running an XMPP server or client application, depending on the directionality of the connection. – Chris Nava May 5 '10 at 18:25
telnet <hostname> 5222
share|improve this answer
Where to type this command? I am sorry, this may seem kiddish. I am not that familiar. Please guide me – Anonymous May 7 '10 at 13:35
if you're on Windows, start > run cmd ENTER. then telnet <hostname> 5222. – gravyface May 10 '10 at 18:34

With HostGator at least, redirects to I'm not aware if you can change that, but the best place to ask would be your hosting company's support. Like solefald said, you can use the telnet command to test whether TCP ports are open.

share|improve this answer

cpanel typically doesn't manage firewall. Talk to your hosting providor or whomever manages your server. They will have to open the port for you on the firewall.

share|improve this answer