Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-28-2014, 08:22 AM   #1
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
view apache home page from another machine.

I installed Apache on a machine with a host ip of
when i http://localhost into a browser on that machine ( i can see the apache web page "it works" . and if i type in on that host, i see the apache web page "it works". however when i type in from another host on the same LAN - I get a connection timeout. I cannot see the page.

I tried opening up the port on the host machine

[FEDORA_CASPER@new-host-3 ~]$ sudo /sbin/iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT
[FEDORA_CASPER@new-host-3 ~]$
what is my next trouble shooting step. is running fedora20

Last edited by casperdaghost; 05-28-2014 at 08:24 AM.
Old 05-28-2014, 08:43 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,450

Rep: Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891
Turn your firewall totally off on and see what happens.

For what it's worth my iptables entry to open port 80 is just:

iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
1 members found this post helpful.
Old 05-28-2014, 08:53 AM   #3
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
thank you...WORKS

[FEDORA_CASPER@new-host-3 ~]$ sudo iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
[FEDORA_CASPER@new-host-3 ~]$ sudo systemctl restart iptables.service
[FEDORA_CASPER@new-host-3 ~]$


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set nagios to apache start/home page drsketch1 Linux - Server 3 01-19-2011 10:34 PM
Change default Apache webpage to a user home page Ericxx Linux - Server 9 08-11-2010 05:22 AM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 06:10 PM
Apache Server up, but acid and MRTG home page could not be view!! yitloo Linux - Networking 1 11-08-2004 04:20 AM
Unable to view web page from remote machine kiddy Linux - Networking 2 04-14-2004 09:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration