Apache not responding to local computers inside router

Apache not responding to local computers inside router

am 20.05.2007 00:24:45 von 010 010

hiya,

I have apache2 installed on fedora core 5. Accessing localhost I see
my page. Accessing 192.168.0.159 (my computers ip) i see my page.

Now, going to another computer on my home network (we're all connected
to a d-link di-704 router, then through that to a modem) running
windows vista, i try http://192.168.0.159 and am told page cannot be
displayed by ie.

I changed the config from: Listen 80

to:
Listen 192.168.0.159:80
Listen 192.168.0.159:8080

but neither of these are seen from the vista computer (both work from
linux box server).

pinging linux box from vista computer is successful.

I set up port forwarding and even DMZ on my router, although i think
that since local computers cant access apache that this isnt the
problem.

any pointers, ideas, suggestions?

[root@localhost /]# netstat -anop |grep 80
tcp 0 0 192.168.0.159:80
0.0.0.0:* LISTEN 4632/httpd off
(0.00/0/0)
tcp 0 0 192.168.0.159:8080
0.0.0.0:* LISTEN 4632/httpd off
(0.00/0/0)
tcp 0 0 0.0.0.0:6000
0.0.0.0:* LISTEN 2580/X off
(0.00/0/0)
tcp 0 0 192.168.0.159:45029
209.85.167.99:80 TIME_WAIT - timewait
(0.30/0/0)
tcp 0 0 192.168.0.159:37275
209.85.139.99:80 TIME_WAIT - timewait
(0.31/0/0)
tcp 0 0 :::
6000 :::* LISTEN 2580/
X off (0.00/0/0)
unix 2 [ ACC ] STREAM LISTENING 7805 2740/firefox-
bin /tmp/orbit-elbiot/linc-ab4-0-10b0919cba199
unix 2 [ ACC ] STREAM LISTENING 7071 2580/
X /tmp/.X11-unix/X0unix 2 [ ACC ] STREAM
LISTENING 7567 2691/nm-applet /tmp/orbit-elbiot/linc-
a83-0-2f3337ac2980c
unix 3 [ ] STREAM CONNECTED 14026 2580/
X /tmp/.X11-unix/X0unix 5 [ ] STREAM
CONNECTED 8106 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7808 2740/firefox-bin /tmp/
orbit-elbiot/linc-ab4-0-10b0919cba199
unix 3 [ ] STREAM CONNECTED 7807 2634/gconfd-2
unix 3 [ ] STREAM CONNECTED 7804 2634/
gconfd-2 /tmp/orbit-elbiot/linc-a4a-0-355ee32a6f7c2
unix 3 [ ] STREAM CONNECTED 7803 2740/firefox-
bin
unix 3 [ ] STREAM CONNECTED 7792 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7758 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7699 2580/X /
tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED
7680 2634/gconfd-2
unix 3 [ ] STREAM CONNECTED 7672 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7665 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7598 2580/X /
tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED
7570 2691/nm-applet /tmp/orbit-elbiot/linc-a83-0-2f3337ac2980c
unix 3 [ ] STREAM CONNECTED 7559 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7505 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7499 2580/X /
tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED
7479 2580/X /tmp/.X11-unix/X0unix 3 [ ]
STREAM CONNECTED 7439 2580/X /tmp/.X11-unix/
X0unix 3 [ ] STREAM CONNECTED 7380 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7350 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7332 2580/X /
tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED
7321 2580/X /tmp/.X11-unix/X0unix 3 [ ]
STREAM CONNECTED 7280 2642/gnome-settings /tmp/orbit-elbiot/
linc-a52-0-18182b883d4bd
unix 3 [ ] STREAM CONNECTED 7271 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7230 2580/X /tmp/.X11-unix/X0unix 3
[ ] STREAM CONNECTED 7180 2634/gconfd-2 /tmp/
orbit-elbiot/linc-a4a-0-355ee32a6f7c2
unix 3 [ ] STREAM CONNECTED 7158 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 7121 2580/X
unix 4 [ ] STREAM CONNECTED 7126 2580/
X /tmp/.X11-unix/X0unix 3 [ ] STREAM
CONNECTED 5808 1712/dbus-daemon /var/run/dbus/
system_bus_socket
unix 3 [ ] STREAM CONNECTED 5807 2140/cups-
config-da

Re: Apache not responding to local computers inside router

am 26.05.2007 00:58:12 von 010 010

I resolved this problem.

After bypassing the router and hooking my compter directly to the
modem, i was still unable to serve to the outside world. I came
across something that said that running the script "apachectl start"
was necessary on some systems and i had been using plain httpd to
begin apache. When i tried that i got several errors. Following
those errors on google, I found that SELinux (security enhancements
included with fedora) interferes with apache. I disabled it am and
now in buisness.

Those same sources that said to disable SELinux suggested installing
ISPConfig instead to keep security up. I haven't done that yet.

if you have this problem, hope this helps.

-010 010