A technician is troubleshooting an issue where a server is unable to communicate with other devices on the same network segment. The suspicion is that an application might be occupying a network port needed for the server’s operation. Which of the following would be the BEST command to use to display all active connections and listening ports to determine if the application is occupying the required port?
traceroute -p
tcpdump -i any
netstat -ano
nmap -p- localhost