Track the open request of a network port

strace

strace -f -e trace=bind nc -l 80
click the source code to copy install strace on any operating system with command-not-found.com