[pkg-lighttpd] Bug#489063: lighttpd: unable to make lighttpd bind to localhost only
Paul Wise
pabs at debian.org
Thu Jul 3 05:20:43 UTC 2008
Package: lighttpd
Version: 1.4.19-4
Severity: normal
Forwarded: http://forum.lighttpd.net/topic/64647
I can't figure out how to make lighttpd listen on localhost/127.0.0.1/lo
only. I'm using it for web development stuff so this is desirable. A log
of what I tried is here and more info is in the last message (by Guest)
on the upstream forum.
root at chianamo:~# cat /etc/lighttpd/conf-enabled/pabs-localhost-only.conf
server.port = 80
server.bind = "localhost"
root at chianamo:~# /etc/init.d/lighttpd start
Starting web server: lighttpd
2008-07-03 13:15:56: (network.c.201) getaddrinfo failed: No address associated with hostname ' localhost '
failed!
root at chianamo:~# sed -i -e s/localhost/127.0.0.1/ /etc/lighttpd/conf-enabled/pabs-localhost-only.conf
root at chianamo:~# cat /etc/lighttpd/conf-enabled/pabs-localhost-only.conf
server.port = 80
server.bind = "127.0.0.1"
root at chianamo:~# /etc/init.d/lighttpd start
Starting web server: lighttpd
2008-07-03 13:16:38: (network.c.201) getaddrinfo failed: Address family for hostname not supported ' 127.0.0.1 '
failed!
root at chianamo:~# sed -i -e s/127.0.0.1/lo/ /etc/lighttpd/conf-enabled/pabs-localhost-only.conf
root at chianamo:~# cat /etc/lighttpd/conf-enabled/pabs-localhost-only.conf
server.port = 80
server.bind = "lo"
root at chianamo:~# /etc/init.d/lighttpd start
Starting web server: lighttpd
2008-07-03 13:17:01: (network.c.201) getaddrinfo failed: No address associated with hostname ' lo '
failed!
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lighttpd depends on:
ii libattr1 1:2.4.41-1 Extended attribute shared library
ii libbz2-1.0 1.0.5-0.1 high-quality block-sorting file co
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libfam0 2.7.0-13.3 Client library to control the FAM
ii libldap-2.4-2 2.4.10-1 OpenLDAP libraries
ii libpcre3 7.6-2 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
ii libterm-readline-perl- 1.0302-1 Perl implementation of Readline li
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
--
bye,
pabs
http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20080703/d4ba3ea5/attachment.pgp
More information about the pkg-lighttpd-maintainers
mailing list