465Port
TCPProtocol
submissionsIANA service nameEmailCategory
Port range
465 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
Only open port 465 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 465 in a firewall
ufw sudo ufw allow 465/tcp iptables sudo iptables -A INPUT -p tcp --dport 465 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=465/tcp Windows New-NetFirewallRule -DisplayName "SMTPS (submission over TLS) 465" -Direction Inbound -Protocol TCP -LocalPort 465 -Action Allow
Check if port 465 is open
nc -vz example.com 465 Test-NetConnection example.com -Port 465 # PowerShell sudo ss -tulpn | grep ':465 ' # what is listening locally (Linux)