Telnet uses the Telnet protocol (part of the TCP/IP protocol suite) to connect to a remote computer over a network. You can execute telnet from the Command prompt (DOS prompt).
telnet [RemoteServer] [Port]
[RemoteServer]: specify the name of the server to which you want to connect. When you connecting to an email server you need to use the MX record value.
[Port]: enter the port that you want to use.
For Windows users:
- Go to Start > Run (or press Windows button+R).
- In the Run window type cmd and click OK to open Command prompt.
Examples of a Telnet session:
|To connect to the Intermedia mail server (MX record) through SMTP port 25 type a command, similar to these examples:||
telnet mail.your_domain.com 25
To terminate Telnet session use the "quit" command.
Note for Windows Vista, Windows 7 and Windows 8 : by default, Windows Vista, Windows 7 and Windows 8 do not have the Telnet client enabled. To install Telnet, follow these steps:
- Go to Start > Computer and then click Uninstall or change a program.
- Then click Turn Windows features on or off and after you click Continue on the security prompt, you should see a list of components.
- Scroll down to Telnet Client and check the box next to it. Click Ok to install the client.
For Mac users:
If you have OS X, you can use the built-in network tools.
- Click Go > Utilities.
- In the Utilities folder open Terminal.
- In Terminal, type: telnet [hostname] [port].