LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache2 not working on Debian (http://www.linuxquestions.org/questions/linux-newbie-8/apache2-not-working-on-debian-674045/)

le Stone 10-03-2008 05:54 PM

Apache2 not working on Debian
 
New waters for me.

I have Debian setup, and installed apache2 using
apt-get install apache2

However, when I try to view the default page in a web browser from another machine on my network, it doesn't get anything back from the server (unresponsive).

I haven't touched any of the conf files. Not sure why it's not working.
Any help would be greatly appreciated!

TIA

klearview 10-03-2008 06:04 PM

It's unlikely to be apache problem. Most likely - networking issue. Make sure apache is running - 'ps ax | grep apache'. If it does -see if you can see it from the server itself - 'lynx localhost' (install lynx if it's not installed already)

le Stone 10-03-2008 06:15 PM

You're right!
 
with
lynx 192.168.0.49
it shows "It works!"

So...what could be causing my other machines not to see it? I can ping 192.168.0.49 fine. How would I test whether or not port 80 is sending/receiving data properly?

le Stone 10-03-2008 06:27 PM

OK now
 
For some reason it's working now. Maybe a loose cable or something.

Thanks klearview.

klearview 10-03-2008 06:30 PM

Do you have firewall set up on Debian server? Check your firewall rules with 'iptables -L' (as root)

le Stone 10-06-2008 03:21 PM

No firewall
 
No, I don't see anything setup when I look at the iptables. And it seems to be working fine now. I think it was a cable issue.
Thanks again.


All times are GMT -5. The time now is 06:16 PM.