Using Telnet to Test Ports

Version 10



    To test if a connection is successful through a specific port.


    Note: Operating Systems Vista and newer may require enabling this feature first.


    How to Enable the telnet client for Windows Vista, 7, 2008, 8, & 2012


    Access Control Panel\All Control Panel Items\Programs and Features

    On the left side, click on "Turn Windows features on or off"

    Once the list loads up, scroll down and look for "Telnet Client". Put a check in the box next to this, then hit "OK". It may take a few minutes to install telnet client.


    Using Telnet


    Open Command Prompt and enter: telnet {MachineName} {Port}


    For Example:

    telnet {machinename} 5120



    If the command prompt returns a blank screen the connection was successful on the indicated port.

    telnet result.png


    If an error occurs verify the MachineName as well as port. If Machine name is correct, the port may be blocked.



    A common Test for Protect would be:

    Console to Target:

    telnet {machinename} 5120


    Target to Console:

    telnet {machinename} 3121

    Console to Agent:

    telnet {agentmachinename} 4155


    Additional Information


    Related Documentation:


    Shavlik Protect Inbound and Outbound Port Requirements Explanations

    Shavlik Protect Inbound and Outbound Port Requirements Explanations


    You can find more information on telnet with the following methods:


    In command prompt run: telnet -?


    Refer to the following Microsoft articles:

    Telnet protocol:

    Telnet commands:


    Affected Product(s)


    Protect Version: All