Home / Port numbers / Port 23
Port 23: Telnet
Remote command line, unencrypted. Port 23 uses TCP.
- Port
- 23
- Commonly used for
- Telnet
- Transport
- TCP
- Encrypted
- No
- Range
- System (well-known) port, 0 to 1023
- Our advice
- Keep it closed to the internet
- IANA registration
telnetTelnet (TCP, UDP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 23 is used for
Port 23 is Telnet, the original way to get a command line on a remote machine. Everything, including the password, crosses the network as plain text. SSH replaced it decades ago, but it lingers on old network equipment, industrial devices and cheap cameras and routers.
Should port 23 be open?
An open Telnet port is among the most dangerous things a device can expose. The Mirai botnet of 2016 took over hundreds of thousands of cameras and routers simply by trying factory-default Telnet passwords. Disable Telnet wherever you find it and use SSH. If a device offers only Telnet, keep it off the internet entirely.
Related ports
- Port 22 (SSH): secure remote login and file transfer (SFTP)
- Port 2222 (SSH alternate (unofficial)): SSH moved off its standard port, and the DirectAdmin panel
- Port 3389 (RDP): Windows Remote Desktop
See all port numbers for the full list and how ports, TCP and UDP work.