TCP port 465 is commonly used for SMTP message submission with implicit TLS.
A port is a transport layer number used together with an IP address and a protocol such as TCP or UDP to direct traffic to the correct service on a host.
A server process binds a socket to a port and listens, while a client typically chooses an ephemeral source port for outbound connections.
The combination of source and destination IP addresses, source and destination ports, and the transport protocol uniquely identifies a flow so the operating system can keep many conversations separate.
Firewalls, NAT, and scanners talk about ports because the destination port is the stable rendezvous point that exposes a service to the network.
A submission server listens on 465 and expects encryption immediately.
The client connects from an ephemeral source port, completes the TCP handshake, and then starts the TLS handshake before sending any SMTP commands.
After the TLS channel is established, the client authenticates and submits messages for delivery.
The key practical difference from STARTTLS based submission is that encryption starts from the first byte, which reduces downgrade risk if clients and servers are configured correctly.
From a security perspective, 465 should not behave like open internet relay on port 25.
It is usually an authenticated service for users and apps, so abuse prevention, rate limits, and credential hygiene matter as much as TLS.