Project

General

Profile

Server bindDetails » History » Revision 5

Revision 4 (stbuehler, 2009-06-03 14:54) → Revision 5/7 (stbuehler, 2012-08-11 10:42)

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) 
 * #509: server.bind problems with BSD and listening on dual IPv4 and IPv6 addresses