Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Reserving set of local ports from ephemeral port range

    Posted on

    Environment:
    Red Hat Enterprise Linux 5
    Red Hat Enterprise Linux 6
    Red Hat Enterprise Linux 7

    Issue:
    How to reserve set of ports for a third-party application? Which those ports already under ephemeral port range.

    Example:
    cat /proc/sys/net/ipv4/ip_local_reserved_ports
    30000-31000
    cat /proc/sys/net/ipv4/ip_local_port_range
    3999 60999

    The Question here is:
    Since we have to utilize/hold the ports from 30000 to 31000 for our application & need to use rest of the ephemeral ports for other open connectivity.
    In my example, I have mentioned ephemeral range from 3999 to 60999, so reserve_ports will secure the highlighted/mentioned ports from ephemeral?

    Please let me know if this works without any issue in the production?

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.