troubleshooting Question

why cannot access Apache from other NIC ?

Avatar of deeping
deeping asked on
Linux Networking
17 Comments1 Solution494 ViewsLast Modified:
Hi all,

I got a problem on Apache,and hope somebody can help me (sorry for my English) :


my box is running kernel 2.4.19,with iptables and advanced router compiled;and Apache is 2.0.40 - the latest version.

my box has three network devices:

eth0 - connected to my LAN,using IP address 192.168.0.XXX
eth1 - connedted to ADSL modem
ppp0 - after ADSL connection is established

after Apache starts,there is no problem while visit http service right on the linux box,whether use

     lynx localhost
or
     lynx 192.168.0.250      #the IP binded with eth0
or
     lynx <the IP binded with ppp0,and it's a valid internet address>

it's all ok.

but when I try to access the http service from other PCs on the LAN (connected with the linux box via eth0),nothing happens in the browser.

I doubt it's caused by iptables,but even when I set INPUT ACCEPT and OUT ACCEPT on all devices,problem insists ...

Who can help me?

Thank you.
ASKER CERTIFIED SOLUTION
wolftales

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros