snippetbashTip
darkhttpd — Darkhttpd web server. More information: <https://github.com/emikulic/darkhttpd#how-to-run-darkhttpd>
Viewed 0 times
servercommanddarkhttpdcliinformationwebmore
Problem
How to use the
darkhttpd command: Darkhttpd web server. More information: <https://github.com/emikulic/darkhttpd#how-to-run-darkhttpd>.Solution
darkhttpd — Darkhttpd web server. More information: <https://github.com/emikulic/darkhttpd#how-to-run-darkhttpd>.Start server serving the specified document root:
darkhttpd {{path/to/docroot}}Start server on specified port (port 8080 by default if running as non-root user):
darkhttpd {{path/to/docroot}} --port {{port}}Listen only on specified IP address (by default, the server listens on all interfaces):
darkhttpd {{path/to/docroot}} --addr {{ip_address}}Code Snippets
Start server serving the specified document root
darkhttpd {{path/to/docroot}}Start server on specified port (port 8080 by default if running as non-root user)
darkhttpd {{path/to/docroot}} --port {{port}}Listen only on specified IP address (by default, the server listens on all interfaces)
darkhttpd {{path/to/docroot}} --addr {{ip_address}}Context
tldr-pages: common/darkhttpd
Revisions (0)
No revisions yet.