🧀 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

For review only: practice in a real Linux environment, this sandbox does not execute this command.

This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.

Full documentation ↗

Related commands