how do i check which ports are open on my computer code example Example: how to check for open ports in windows netstat -an