random_port: Select a random safe port

View source: R/aaa.R

random_portR Documentation

Select a random safe port

Description

This is a small utility function to get random safe ports to run your application on. It chooses a port within the range that cannot be registered to IANA and thus is safe to assume are not in use.

Usage

random_port()

Value

An integer in the range 49152-65535

Examples

random_port()


fiery documentation built on Jan. 12, 2026, 9:06 a.m.