Linux networking · Testing connectivity

Test whether a port is open

Try to connect to a TCP port. -z checks without sending data.

nc -zv example.com 443

Official Linux networking documentation

More testing connectivity commands

All testing connectivity commands · Linux networking cheatsheet

Was this page helpful?