sysctl: setting key "net.ipv4.ip_local_reserved_ports": Invalid argument when using a port range
Issue
sysctl: setting key "net.ipv4.ip_local_reserved_ports": Invalid argument
when using a port range- Using a port range like "9000–9999" results in
Invalid argument
when applying withsysctl -p
to set the kernel tunable - Reserved ports are defined in
sysctl.conf
but do not apply on boot or after a reboot
Environment
- Red Hat Enterprise Linux
sysctl.conf
containsnet.ipv4.ip_local_reserved_ports
with port range
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.