We help IT Professionals succeed at work.

Apache Server unaccessible from Intranet

412 Views
Last Modified: 2013-12-16
I have two computers on my home intranet as below:

Computer A: Apache Server on Fedora 7 as 192.168.1.100 (david)
Computer B: Windows XP Client as 192.168.1.101 (alice)

I have edited the hosts file on both computer so pinging both by IP or name to each other works fine. I don't have any network problem because I can also access Windows PC using the Fedora PC.

I also don't have any problem accessing the web page from Fedora's http://localhost using the browser. But the funny thing is that I can't access the web page from the Windows XP's browser using http://david or http://192.168.1.100

I didn't change any default httpd.conf in Apache, so it listens to the port: 80 and everything works fine from the same computer. Any clues?

Comment
Watch Question

Author

Commented:
To add some info:

I have samba and VNC setup and both are working without any problems between the two computers. So I guess it must be a problem with Apache setup on Fedora? I didn't have any problems when used Windows XP on both PC's with one of them installed with Apache...

*** I am newbie to Fedora Linux 7, using for a week now.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
after you checked your firewall settings, please check your httpd.conf if it
  1. listens on public IP
  2. listens for all host names (not only some virtual host names)

Author

Commented:
That worked :)

Do you know how I can configure iptables to accept http connections from the network without turning it off?
Edit /etc/sysconfig/iptables
add the line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

Restart iptables.

-Bimal

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.