Port 70: Gopher

Port 70 (TCP) is used by Gopher. Menu-based document protocol that predates the web.

70Port
TCPProtocol
gopherIANA service name
Legacy protocolsCategory

Port range

70 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Port 70 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.

Open port 70 in a firewall

ufw         sudo ufw allow 70/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 70 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=70/tcp
Windows     New-NetFirewallRule -DisplayName "Gopher 70" -Direction Inbound -Protocol TCP -LocalPort 70 -Action Allow

Check if port 70 is open

nc -vz example.com 70
Test-NetConnection example.com -Port 70   # PowerShell
sudo ss -tulpn | grep ':70 '   # what is listening locally (Linux)

Other legacy protocols ports

Frequently asked questions

What is port 70 used for?
Gopher. Menu-based document protocol that predates the web.
Is port 70 TCP or UDP?
TCP.