Home / Port numbers / Port 465
Port 465: SMTP submission over TLS
Sending mail from an app, encrypted from the first byte. Port 465 uses TCP.
- Port
- 465
- Commonly used for
- SMTP submission over TLS
- Transport
- TCP
- Encrypted
- Yes (TLS from the start)
- Range
- System (well-known) port, 0 to 1023
- Our advice
- Normally open on a server that provides this service
- IANA registration
urdURL Rendezvous Directory for SSM (TCP)submissionsMessage Submission over TLS protocol (TCP)igmpv3liteIGMP over UDP for SSM (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 465 is used for
Port 465 is used by mail apps to submit outgoing messages to their provider, with TLS encryption established before anything else is said. Its original registration was revoked, but it stayed in wide use and RFC 8314 formally restored it for this purpose in 2018. That RFC prefers encryption from the first byte over STARTTLS, and asks providers to offer both 465 and 587.
Should port 465 be open?
A mail provider opens this port for its own customers and requires a sign-in before accepting anything. On a server you run, make sure authentication is enforced and failed logins are rate limited, because password guessing against mail accounts is constant.
Related ports
- Port 587 (SMTP submission): sending mail from an app to your mail provider
- Port 25 (SMTP): mail delivery between mail servers
- Port 993 (IMAP over TLS): reading mail kept on the server, encrypted
Related tool: Email security check. See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 464 (Kerberos password change) · Next: Port 500 (IKE (IPsec key exchange))