Learn R Programming

fiery (version 1.2.1)

random_port: 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 registeret to IANA and thus is safe to assume are not in use.

Usage

random_port()

Arguments

Value

An integer in the range 49152-65535

Examples

Run this code
random_port()

Run the code above in your browser using DataLab