Run at the command line:
Name: The protocol over which the connection is made and the process that uses it.
Local address: IP address of the network interface participating in the connection and open port.
External address: external IP address and port involved in the connection.
CLOSE_WAIT - waiting for the connection to close.
CLOSED - the connection is closed.
ESTABLISHED - connection established.
LISTENING - waiting for connection.
TIME_WAIT - response time exceeded.
Addresses like 0.0.0.0 or [::] mean that any IP address can be used in the connection .
If you do not use 'n' in the key, netstat will try to get the names of external addresses and the letters of the protocols using the port instead of IP addresses.