[opensuse-factory] How do you allow connections from 127.0.0.1 to apache2

Hello How do you allow connections from 127.0.0.1 to apache2 I get this error [1]. I have these rpms installed [2]and using factory. What else needs to be altered ? Firewall settings ? Its just using defaults. Thanks Glenn [1] Failed to Connect The connection was refused when attempting to contact 127.0.0.1. Though the site seems valid, the browser was unable to establish a connection.Could the site be temporarily unavailable? Try again later.Are you unable to browse other sites? Check the computer's network connection.Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. [2] # rpm -qa | grep -i apache2| sort apache2-2.2.22-8.4.x86_64 apache2-example-pages-2.2.22-8.4.x86_64 apache2-mod_php5-5.3.17-2.3.x86_64 apache2-prefork-2.2.22-8.4.x86_64 apache2-utils-2.2.22-8.4.x86_64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

doiggl@velocitynet.com.au wrote:
Have you configured apache to listen on 127.0.0.1 ? You can use "netstat -ltn" to determine if something is listening on port 80, and on which addresses. To configure apache to listen, you need to look at /etc/apache2/listen.conf /Per -- Per Jessen, Zürich (8.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, 26 Nov 2012 21:32:00 +0100 (CET), Jan Engelhardt <jengelh@inai.de> wrote:
Hello, Results so far: # ss -ltn State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 :::22 :::* LISTEN 0 128 *:22 *:* LISTEN 0 128 :::631 :::* LISTEN 0 100 *:25 *:* # rpm -qa |grep -i apache2 | sort apache2-2.2.22-8.4.x86_64 apache2-example-pages-2.2.22-8.4.x86_64 apache2-mod_php5-5.3.17-2.3.x86_64 apache2-prefork-2.2.22-8.4.x86_64 apache2-utils-2.2.22-8.4.x86_64 # ps -ef | grep httpd root 7158 3441 0 17:23 pts/1 00:00:00 grep --color=auto httpd # ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.041 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.064 ms Looks like nothing listening locally. What do you start ,turn on or configure in firewall , to allow connections from 127.0.0.1 and get it going ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

doiggl@velocitynet.com.au wrote:
Hello, Results so far:
see my reply on opensuse-general, this list is not appropriate for this thread. -- Per Jessen, Zürich (5.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

doiggl@velocitynet.com.au wrote:
Have you configured apache to listen on 127.0.0.1 ? You can use "netstat -ltn" to determine if something is listening on port 80, and on which addresses. To configure apache to listen, you need to look at /etc/apache2/listen.conf /Per -- Per Jessen, Zürich (8.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, 26 Nov 2012 21:32:00 +0100 (CET), Jan Engelhardt <jengelh@inai.de> wrote:
Hello, Results so far: # ss -ltn State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 :::22 :::* LISTEN 0 128 *:22 *:* LISTEN 0 128 :::631 :::* LISTEN 0 100 *:25 *:* # rpm -qa |grep -i apache2 | sort apache2-2.2.22-8.4.x86_64 apache2-example-pages-2.2.22-8.4.x86_64 apache2-mod_php5-5.3.17-2.3.x86_64 apache2-prefork-2.2.22-8.4.x86_64 apache2-utils-2.2.22-8.4.x86_64 # ps -ef | grep httpd root 7158 3441 0 17:23 pts/1 00:00:00 grep --color=auto httpd # ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.041 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.064 ms Looks like nothing listening locally. What do you start ,turn on or configure in firewall , to allow connections from 127.0.0.1 and get it going ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

doiggl@velocitynet.com.au wrote:
Hello, Results so far:
see my reply on opensuse-general, this list is not appropriate for this thread. -- Per Jessen, Zürich (5.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Jan Engelhardt
-
Per Jessen