How can I test if port 5222 is open on my network?

Port 5222 is the IANA-registered port for XMPP client connections. To check whether your connection is blocked, type 'telnet 5222' in a terminal or console window.

Send <> and you should get an error message back if the port is open and working.

Please refer to your IT support if this port is not open.
Have more questions? Submit a request


  • 0
    Gavin King-Smith

    telnet 5222 does not appear to work with Windows 10 - response is "telnet is not a recognised command"

  • 0

    Hi Gavin. I have just needed to do the same thing.
    I found that typing this
    pkgmgr /iu:"TelnetClient"
    into command window, opened a telnet session.
    Then after a while, press enter and a flashing cursor appears.
    then you can type in "<>" and an error message appears and the session is closed.

  • 0
    OWL Help Centre Agent 1

    A quick update to the above, Windows 8.2 uses "DISM.exe" rather than pkgmgr:

         dism /online /Enable-Feature /FeatureName:TelnetClient

    Please note that you need to run an elevated command prompt to use DISM.exe

    Wait for DISM.exe to finish installing Telnet, then perform the original command:

         telnet 5222

    This will either present an XML-formatted series of errors, or simply say "Connecting to Could not open connection to the host, on port 5222: Connect Failed".

    The XML-like Error shows port 5222 to be working with your current network setup.

Please sign in to leave a comment.
Powered by Zendesk