Steps to make telnet in Windows/Linux/MAC
Introduction
Telnet is a network protocol and command-line utility used to connect to remote systems over TCP/IP. It is mainly used for testing connectivity to servers and services on specific ports. Although it is considered less secure compared to SSH, it is still useful for troubleshooting network services such as SMTP, HTTP, and database ports.
Prerequisites
Before using Telnet, ensure the following:
- A working internet or local network connection
- Access to a terminal or command prompt
- Telnet client installed on your system
- IP address or hostname of the target server
- Port number of the service you want to test (e.g., 80, 443, 25)
- Administrator/root access (sometimes required for installation)
IMPLEMENTATION
You can make a Telnet by following the below mentioned steps:
===============
Open a command prompt in Windows:
1. Click Start > Run.
2. Type cmd.
3. Click OK.Â
Note: To exit from the command prompt, type exit and press Enter.
In the command prompt window type:
telnet <domainname> <Port No>Â
Press Enter.
Note: To exit out of the Telnet application type Ctrl + ], then type quit.
===============
Opening a command or shell prompt in Linux:
The exact method of doing this varies with the distribution and version of Linux operating system in use.Â
If you are looking at a graphical screen, the most common method of getting to a shell prompt is to press Ctrl + Alt + F2. You may have to log in.
Note: To logout, type exit and press Enter. To return to the graphical interface, press Alt + F7.
Opening a command or shell prompt in Mac OS:
1. Click Finder.
2. Open the /Applications/Utilities folder by pressing Command + Shift + U.
3. Open the Terminal application.
Note: To exit from Terminal, type exit, press Enter then press Command + Q.
In the terminal, you can type the same command as typed in windows.
===============
Conclusion
Telnet is a simple yet powerful tool for checking network connectivity and troubleshooting service availability across Windows, Linux, and macOS. Although it is outdated for secure communication, it remains widely used in system administration for quick port testing and debugging network issues.
