express-pong
v1.2.5
Published
minimum ping-pong server
Downloads
8
Readme
express-pong
nothing but a node server response ping.
Run
As Docker container
export exposedPort=<exposed-port>
docker run -p ${exposedPort}:${PORT} -e PORT=${PORT} ghcr.io/davidkhala/express-pong
As node process
PORT=<port> node app.js
- Or with
nohup
to run in backgroundPORT=<port> nohup nodejs app.js &
Notes
- ICMP has no ports and is neither TCP nor UDP.
ICMP is IP protocol 1 (see RFC792), TCP is IP protocol 6 (described in RFC793) and UDP is IP protocol 17(see RFC768). UDP and TCP have ports, ICMP has no ports,
- TLS options:
- [Nodejs 11+]
minVersion
set the minimum TLS version to allow. ['TLSv1.2', 'TLSv1.1', 'TLSv1']. Cannot be specified along with the secureProtocol option. It is not recommended to use less than TLSv1.2. Default: 'TLSv1'. secureProtocol
The TLS protocol version to use. The possible values are listed as SSL_METHODS, use the function names as strings. It is not recommended to use TLS versions less than 1.2. Default: none, see minVersion.
- [Nodejs 11+]