1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/darkhttpd.md

17 lines
459 B
Markdown
Raw Normal View History

2018-10-24 22:59:41 +00:00
# darkhttpd
> Darkhttpd web server.
2019-06-08 01:04:00 +01:00
> More information: <https://unix4lyfe.org/darkhttpd>.
2018-10-24 22:59:41 +00: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}}`