Networking
telnet
User interface to the TELNET protocol.
Connect
Connect to a host on a specific port.
telnet [host] [port]
Test HTTP
Manually send an HTTP request.
- Connect:
telnet [host] 80 - Type:
GET / HTTP/1.1 - Type:
Host: [host] - Press Enter twice.
Test SMTP
Manually send an email.
- Connect:
telnet [host] 25 - Type:
EHLO [host] - Type:
MAIL FROM: <sender@[host]> - Type:
RCPT TO: <recipient@[host]> - Type:
DATA - Type message body.
- Type
.on a new line to send.
Exit
To exit the telnet prompt.
Press Ctrl + ] then type quit.
telnet> quit