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
- Check that a host answers
- Trace the path to a host
- Trace with live statistics
- Time each phase of a request
- Find the path MTU
All testing connectivity commands · Linux networking cheatsheet