express-pong

1.2.5 • Public • Published

express-pong

nothing but a node server response ping.

test

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 background
    • PORT=<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.

Readme

Keywords

Package Sidebar

Install

npm i express-pong

Weekly Downloads

1

Version

1.2.5

License

Apache-2.0

Unpacked Size

17.6 kB

Total Files

9

Last publish

Collaborators

  • davidkhala