mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
17 lines
459 B
Markdown
17 lines
459 B
Markdown
# darkhttpd
|
|
|
|
> Darkhttpd web server.
|
|
> More information: <https://unix4lyfe.org/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}}`
|