LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-28-2014, 09:22 AM   #1
casperdaghost
Member
 
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 192.168.1.11.
when i http://localhost into a browser on that machine (192.168.1.11) i can see the apache web page "it works" . and if i type in 192.168.1.11 on that host, i see the apache web page "it works". however when i type in http://192.168.1.11 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 192.168.1.11

Code:
[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. 192.168.1.11 is running fedora20

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

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

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

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

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

Code:
[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 ~]$
 
  


Reply


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 11:34 PM
Change default Apache webpage to a user home page Ericxx Linux - Server 9 08-11-2010 06:22 AM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 07:10 PM
Apache Server up, but acid and MRTG home page could not be view!! yitloo Linux - Networking 1 11-08-2004 05:20 AM
Unable to view web page from remote machine kiddy Linux - Networking 2 04-14-2004 10:06 PM


All times are GMT -5. The time now is 08:42 PM.

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