how to check if a port is in use windows code example Example: how to check what is running in port 8080 netstat -a -n -o | find "8080