Date: Tue, 23 Mar 2010 17:21:13 +0000 From: Vincent Hoffman <vince@unsane.co.uk> To: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: lighttpd in a jail says address is already in use (its not) Message-ID: <4BA8F889.2080207@unsane.co.uk>
next in thread | raw e-mail | index | archive | help
Hi all,
I'm hoping i'm doing something silly. I have an 8.0-RELEASE
machine with one jail that i'm intending to run lighttpd.
I have nothing running on the host other than sendmail on 127.0.0.1 and
sshd bound to the primary IP. The jail is also now running sshd fine.
when i try and start lighttpd i get
Starting lighttpd.
2010-03-23 17:13:35: (network.c.345) can't bind to port: 192.168.10.221
80 Address already in use
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd
however
[root@krill /usr/ports/www/lighttpd]# netstat -an
netstat: kvm not available: /dev/mem: No such file or directory
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.10.221.25 *.* LISTEN
tcp4 0 0 192.168.10.221.22 *.* LISTEN
udp4 0 0 192.168.10.221.514 *.*
and i can make nc listen on port 80 using
nc -l 192.168.10.221 80
and make connections to it from remote
vincenthoffman@macbook
(17:18:13 <~>) 130 $ telnet 192.168.10.221 80
Trying 192.168.10.221...
Connected to jail.home.unsane.co.uk.
Escape character is '^]'.
So the port definitely isnt in use.
Any suggestions if there is a sysctl or anything i need to change to get
this to work?
Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA8F889.2080207>
