CmdID

CmdID / Commands

http-server

Simple static HTTP server to serve static files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Start an HTTP server listening on the default port to serve the current directory

http-serverIdentify

Start an HTTP server on a specific port to serve a specific directory

http-server path/to/directory --port portIdentify

Start an HTTP server using basic authentication

http-server --username username --password passwordIdentify

Start an HTTP server with directory listings disabled

http-server -d falseIdentify

Start an HTTPS server on the default port using the specified certificate

http-server --ssl --cert path/to/cert.pem --key path/to/key.pemIdentify

Start an HTTP server and include the client's IP address in the output logging

http-server --log-ipIdentify

Start an HTTP server with CORS enabled by including the Access-Control-Allow-Origin: * header in all responses

http-server --corsIdentify

Start an HTTP server with logging disabled

http-server --silentIdentify