netstat command with -a option
View the diagram below to observe the netstat command:
- * under Local Address refers to the local machine.
- *.* under Foreign Address means that any incoming connection is acceptable.
- LISTEN means that the server indicated is waiting for a connection.
- This line means that the server is listening on the SMTP port. This is the email server (Mail Transfer Agent) awaiting incoming email.