nc command Unix nc -vz 192.0.1.1 -Port 3306 Test-NetConnection command Windows Test-NetConnection -ComputerName 192.0.1.1 -Port 3306