LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-25-2009, 12:48 PM   #1
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Rep: Reputation: 0
Angry Fedora Core 11 - Apache works locally but not from a different machine


Hello,

I just installed Fedora Core 11 on my server. Tested by pointing the browser to http://machinename.domain works fine when doing so on the local server. However, whenever I try to browse on a different machine on the same network, it time outs as if it can never reach the machine. Any advise are greatly appreciated.

Regards,
 
Old 08-25-2009, 12:55 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Check your firewall, you may need to open port 80.


Regards,

Fordeck
 
Old 08-25-2009, 01:11 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
this mite help:
http://www.linuxquestions.org/questi...laptop-748247/
 
Old 08-25-2009, 11:56 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Also check hostname resolution on the client machine (can it resolve machinename.domain to an ip-address). You can check by pinging machinename.domain

Code:
wim@btd-techweb01:~$ ping btd-techweb01
PING btd-techweb01.mca.naspers.dom (172.31.212.190) 56(84) bytes of data.
64 bytes from btd-techweb01.mca.naspers.dom (172.31.212.190): icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from btd-techweb01.mca.naspers.dom (172.31.212.190): icmp_seq=2 ttl=64 time=0.030 ms
...
...
When you ping by name, it should show you the ip-address as marked in bold. If not, the hostname is not resolved.
 
Old 08-26-2009, 12:25 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
is the name registered so it can be remapped to the ip address ?
or are you using the ip address ( of the box the server is on ) as the http://123.456.789.0123/index.html
 
Old 08-26-2009, 07:09 AM   #6
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Smile Fixed

It turns out the iptables was blocking port 80. After opening up this port, this works fine. Thanks all for a quick reply.
 
  


Reply



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
i have apache web server locally accessible but inaccessible from other machine on la amolgupta Linux - Networking 5 07-08-2009 07:57 AM
Uninstall apache from the fedora core 2 machine ayomi8175 Linux - Software 5 03-12-2008 12:21 PM
XP/Fedora machine w.DSL works w.xP. need help setting thru Fed dejani Fedora - Installation 0 05-05-2004 10:06 PM
sendmail - works locally but not from outside ereeno Linux - Software 5 02-03-2004 12:40 AM
Apache works on local machine, not LAN lanzdale Linux - Software 3 09-02-2003 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 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
Open Source Consulting | Domain Registration