Project

General

Profile

Server bindDetails » History » Revision 4

Revision 3 (Anonymous, 2008-02-11 18:56) → Revision 4/7 (stbuehler, 2009-06-03 14:54)

h1. h2. server.bind option 

 h2. Description 

 


 server.bind 

     IP address, hostname or absolute path to the unix-domain socket the server listen on. 

 

     Default: bind to all interfaces 

     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 "How do I bind to more than one address?]] address?":http://trac.lighttpd.net/trac/wiki/FrequentlyAskedQuestions#HowdoIbindtomorethanoneaddress 
 * [[IPv4 mapped addresses]] for "server.bind 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 
 addresses":http://trac.lighttpd.net/trac/ticket/509