Server bindDetails » History » Revision 6
Revision 5 (stbuehler, 2012-08-11 10:42) → Revision 6/7 (gstrauss, 2017-03-05 06:20)
h1. server.bind option
h2. Description
IP address, hostname or absolute path to the unix-domain socket the server listen on.
Example:
<pre>
server.bind = "127.0.0.1"
server.bind = "www.example.org"
server.bind = "/tmp/lighttpd.socket"
</pre>
Default: bind to all interfaces (IPv4 by default, IPv6 if you enable IPv6 with @server.use-ipv6@)
h2. See Also
* [[FrequentlyAskedQuestions#How-do-I-bind-to-more-than-one-address|How do I bind to more than one address?]]
* [[IPv4 mapped addresses]] for problems with addresses like "::ffff:" in your access.log if you enabled IPv6 (debian enables IPv6 by default for lighty)
* [[IPv6-Config]] IPv6 configuration
* #509: server.bind problems with BSD and listening on dual IPv4 and IPv6 addresses