How to check if a network port is open? How to check if a network port is open? python python