apache Listen directive

Question: How do I change Apache 2 default port under Debian / Ubuntu Linux? I’ve couple of public IPv4 address assigned by my ISP, how do I force Apache2 to listen to a specific IP address? How do I change Apache2 IP address binding?

{ 12 comments }

Q. I’m running Apache 2 server under FreeBSD jail. However, I see lots of warning / error messages in /var/log/httpd-error.log as follows:

[Sat Sep 20 20:47:09 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80
[Sat Sep 20 20:47:10 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80
[Sat Sep 20 20:47:11 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80

How do stop all these warning messages flooding my Apache log files?

{ 0 comments }