>_ linuxcommand.dev
Netcat

-4

Forces nc to use IPv4 addresses only.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verifiziert: 2025-10-07
Syntax
$nc -4 [host] [port]
Beispiele
$nc -4 192.168.59.1 80
Typische Anwendungsfälle
?
Standardverwendung
-4 --help
Hinweis Option für IPv4-only.
Export