During network connectivity troubleshooting, one thing that always pops up is the need to test connectivity for certain ports, for example, to check if a firewall is blocking a certain port, I usually spin up a port on a server using either Netcat or Python, ie while true ; do…