nc -vz smtp.example.com 465

Category: Mail Servers & Postfix

nc -vz smtp.example.com 465

Check if the SMTPS port is open

Verifies TCP connectivity to port 465, the implicit-TLS SMTP port. Many firewalls block it in addition to 25, so test all three SMTP ports when diagnosing client timeout errors. A success means a listener accepted the TCP handshake.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.