🧀 Learn Linux

Advanced·Troubleshoot the network

nc: Test connection or listening port

Syntax

nc [-zv] Host Port

Examples

nc -zv example.com 443

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands