telnet: TCP port connectivity diagnosticsAlthough the Telnet client is disabled by default in modern Windows, it remains the fastest way to verify if a specific TCP port is open and accessible on a remote host.
dism /online /Enable-Feature /FeatureName:TelnetClient
telnet smtp.company.com 25
Test-NetConnection -ComputerName smtp.company.com -Port 25
| Port | Service |
|---|---|
| 80 / 443 | HTTP / HTTPS |
| 25 / 587 | SMTP (outgoing mail) |
| 1433 | SQL Server |
| 3389 | RDP (remote desktop) |
| 5985 | WinRM (remote management) |