Expose with care
Port 587 — SMTP submission
The standard port for a mail client to submit outgoing mail to its own server, authenticated and encrypted with STARTTLS.
Port
587
Service
SMTP submission
Protocol
TCP
Security guidance
This is the right port for sending mail from an application or client. Require authentication and TLS.
Test port 587 yourself
From your own machine, against any host (swap in your domain):
macOS / Linux — netcat
nc -vz example.com 587
Any OS — nmap
nmap -p 587 example.com
Windows — PowerShell
Test-NetConnection example.com -Port 587
open = a service answered on port 587; closed = the host replied but nothing is listening; filtered = a firewall silently dropped the probe. These test from your network — our port checker tests from the outside, the view that matters for security.
Is port 587 open on your server?
Test it from outside your network — the only view that matters.
Other common ports
20 · FTP data
21 · FTP control
22 · SSH / SFTP
23 · Telnet
25 · SMTP
53 · DNS
80 · HTTP
110 · POP3
123 · NTP
143 · IMAP
161 · SNMP
389 · LDAP
443 · HTTPS
445 · SMB
465 · SMTPS
993 · IMAPS
995 · POP3S
1433 · Microsoft SQL Server
1521 · Oracle Database
2082 · cPanel
2083 · cPanel (TLS)
3000 · Node.js / dev server
3306 · MySQL / MariaDB
3389 · RDP
5432 · PostgreSQL
5900 · VNC
6379 · Redis
8080 · HTTP alternate
8443 · HTTPS alternate
9200 · Elasticsearch
27017 · MongoDB