Login

How to Use the Telnet Command in Windows

The Telnet command is a simple but powerful tool used to test whether a specific port on a remote server is open. It helps diagnose connectivity issues, check network communication, and verify whether services are responding on a particular port. This guide explains how to use the Telnet command step by step.

What Is Telnet Used For?

Telnet allows you to:

  • Test if a port is open on a remote server
  • Verify connectivity between your system and a host
  • Identify communication issues
  • Troubleshoot network or firewall problems

Steps to Use the Telnet Command

Follow the steps below to run Telnet commands on a Windows system.

1. Find the Server’s IP Address

Before running the Telnet command, you need the IP address of the server you want to test.

  1. Open Command Prompt

Type:

ipconfig

  1.  
  2. Note the IPv4 Address of the server or main computer

2. Open Command Prompt

  1. Press Windows + R
  2. Type cmd
  3. Click OK to open Command Prompt

3. Run the Telnet Command

Use the following format:

telnet [server IP address] [port]

Example:

telnet 192.168.0.100 13531

This checks whether the server at 192.168.0.100 is listening on port 13531.

4. Enable Telnet (If Not Already Installed)

If Telnet is not enabled on your Windows system:

  1. Open Control Panel
  2. Go to Programs and Features
  3. Click Turn Windows features on or off
  4. Tick the checkbox for:
    • Telnet Client
    • (Optional) Telnet Server
  5. Click OK to enable Telnet

5. Check the Connection Result

  • If the screen shows a blank cursor, the connection is successful
  • If the command returns an error, the port may be blocked or the service is not responding

Close the Command Prompt window once done.

6. Confirm Telnet Functionality

Ensure that:

  • The command executes without errors
  • You can connect to the intended IP and port
  • Network restrictions or firewalls are not blocking access

7. Troubleshooting Telnet Issues

If you are unable to connect:

  • Verify the IP address and port
  • Ensure the service is running on the server
  • Check firewall rules
  • Contact your network administrator for assistance

Final Notes

The Telnet command is a quick and effective tool for testing open ports and diagnosing network communication issues. It is especially useful for server administrators and hosting users who need to confirm connectivity to a remote host.

If you’re using Windows hosting, VPS hosting, or dedicated servers from host.co.in, Telnet can help you troubleshoot port-related issues with ease.

 

Pooja Patil

How to Use the Telnet Command in Windows
Table of Contents
    ×