% CHECK-PORT(1) Version 3.0.3 | Scripts Documentation % Georg Voell - georg.voell@oracle.com % (c)2023 Oracle NAME ==== **check-port** - (BASH Script) Checks if port can be reached over the internet (ingres) SYNOPSIS ======== | **check-port** \[_options_] _port_ DESCRIPTION =========== Checks if port can be reached over the internet (ingres) Options ------- -h, \--help          : Displays helptext. -v, \--version          : Displays the version of the script. -o, \--output _string_         : Output format: _string_ can be "list", "json", "text" or "table" (default). Port ------- Can be a specific port or a port range e.g. '22-25,80,443' e.g. 80         : Test if http port can be reached from outside. EXIT CODES ========== 01: Unknown or wrong parameter. 02: **curl** not found. This script needs **curl** to perform. 03: No internet connection. 99: User interrupt. SEE ALSO ======== **check-ip**(1), **convert-number**(1), **install-scripts**(1)