``` . . \`-"'"-'/ } 6 6 { ==. Y ,== /^^^\ . / \ ) ( )-( )/ _ -""---""--- / / Ncat \_/ ( ____ \_.=|____E ``` # Port Testing ### Test Single TCP Port Test if port `22` is open on the host `192.168.56.10`. ```zsh nc -vz 192.168.1.15 22 ``` - `-v` enables verbose mode. - `-z` sets nc to simply scan for listening daemons, without actually sending any data to them. ### Test Multiple Ports ``` nc -vz 192.168.1.15 22 80 443 ``` ## Test Port Range ```zsh nc -vz 192.168.1.15 22-50 ```