Port 23 β Telnet Remote Terminal
Port 23 is the historical standard port for the Telnet protocol, providing unencrypted, cleartext remote command-line access to network equipment, routers, and legacy Linux/Unix hosts.
23
TCP
telnetd, in.telnetd
23/tcp
Instant Terminal Fixes for Port 23
sudo lsof -i :23 || sudo ss -tulpn | grep ":23 "sudo systemctl stop telnetd || sudo killall in.telnetdsudo ufw deny 23/tcpGet-NetTCPConnection -LocalPort 23Stop-Service -Name TlntSvr -Force -ErrorAction SilentlyContinue# Telnet should not be containerized; use SSH or secure bash sessions insteadCommon Error Encountered
Connection closed by foreign host / Telnet connection refused on port 23.
Security Advisory & Hardening
Telnet transmits usernames, passwords, and commands in plaintext across the network. It should be completely disabled and replaced with SSH (Port 22).
Port 23 Questions & Answers
Common questions regarding default services, kill commands, and firewall configurations.
Port 23 is commonly used for Telnet Remote Terminal. Port 23 is the historical standard port for the Telnet protocol, providing unencrypted, cleartext remote command-line access to network equipment, routers, and legacy Linux/Unix hosts.