netstat -nltp where -n Displays active TCP connections, however, addresses and port numbers are expressed numerically and no attempt is made to determine names. -l Show only listening sockets. (These are omitted by default.) -t Display only TCP connections. -p Shows connections for the protocol…