The netstat(8)
man page states "Show both listening and non-listening (for TCP this means established connections) sockets. With the --interfaces option, show interfaces that are not marked"
What is a non-listening socket vs a listening socket? Does it still occupy the port? or is the port free to be used by other programs?