2025-03-14 21:59:59 -06:00
|
|
|
# darkhttpd
|
|
|
|
|
|
|
|
|
|
> Darkhttpd web server.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://github.com/emikulic/darkhttpd#how-to-run-darkhttpd>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|