Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd February 2012, 09:34 AM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Accessing apache server remotely from another machine (newbie).

Hi, I just installed everything (Apache, PHP, MySQL), I got my apache server to work, and I can go to http://localhost and see the PHP screen with all the variables.

So its working.

Now, to connect to this remotely from another computer, don't I just have to open a browser and type the IP address of my Apache server machine?

Is there more to it?

Any help is greatly appreciated,

Brent.
Reply With Quote
  #2  
Old 23rd February 2012, 09:55 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,809
linuxfirefox
Re: Accessing apache server remotely from another machine (newbie).

http://<address of host machine> should get you the same PHP screen provided port 80 is open.

This is connecting over the local network, not the Internet.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 23rd February 2012, 03:24 PM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Re: Accessing apache server remotely from another machine (newbie).

Hi Glenn, thanks for your response.

That's probably why its not working.

Because I'm trying to connect to it via wifi over the Internet.

*Is* there a way you can get that to work, via over the Internet?

Or is the only way to get that to work is via DNS?
Reply With Quote
  #4  
Old 23rd February 2012, 03:38 PM
Jake Jast Offline
Registered User
 
Join Date: Jul 2010
Posts: 49
linuxfedorafirefox
Re: Accessing apache server remotely from another machine (newbie).

Have you open the port 80/tcp in the firewall?
Reply With Quote
  #5  
Old 23rd February 2012, 03:40 PM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Re: Accessing apache server remotely from another machine (newbie).

Hi Jake, the "Listen 80" command is in the httpd.conf file, is that what you mean?
Reply With Quote
  #6  
Old 23rd February 2012, 03:43 PM
Jake Jast Offline
Registered User
 
Join Date: Jul 2010
Posts: 49
linuxfedorafirefox
Re: Accessing apache server remotely from another machine (newbie).

Quote:
Originally Posted by heigold1 View Post
Hi Jake, the "Listen 80" command is in the httpd.conf file, is that what you mean?
No, try to run in a terminal "system-config-firewall", type your root password and then check where is write "WWW(HTTP)"

Last edited by Jake Jast; 23rd February 2012 at 03:51 PM.
Reply With Quote
  #7  
Old 23rd February 2012, 04:06 PM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Re: Accessing apache server remotely from another machine (newbie).

Hi Jake, that listing WWW(HTTP) says "80/tcp"
Reply With Quote
  #8  
Old 23rd February 2012, 04:13 PM
Jake Jast Offline
Registered User
 
Join Date: Jul 2010
Posts: 49
linuxfedorafirefox
Re: Accessing apache server remotely from another machine (newbie).

Yes, put the check in the small white box in the left
Reply With Quote
  #9  
Old 23rd February 2012, 05:33 PM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Re: Accessing apache server remotely from another machine (newbie).

Jake, it still doesn't work.

Any suggestions? It is greatly appreciated.

---------- Post added at 08:33 AM ---------- Previous post was at 08:29 AM ----------

Jake, to be more specific, I did check the checkbox to the left of it in the table, and reboot.
Reply With Quote
  #10  
Old 23rd February 2012, 06:23 PM
Jake Jast Offline
Registered User
 
Join Date: Jul 2010
Posts: 49
windows_7firefox
Re: Accessing apache server remotely from another machine (newbie).

Obviously, you have applied the changes. Please re-execute "system-config-firewall" and check if the white box on the left of "WWW(HTTP)" is checkhed
Reply With Quote
  #11  
Old 23rd February 2012, 06:50 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,878
linuxfirefox
Re: Accessing apache server remotely from another machine (newbie).

Is the wireless a NAT (usually is and that blocks access)..
What are the IP numbers you have for the system? (bet it is 192.168.something, and those are not routable.)

If you are blocked for either of the above reasons (they are equivalent actually) the only way to get access is to identify the external IP number, AND forward port 80 in the router/NAT device.
Reply With Quote
  #12  
Old 23rd February 2012, 07:13 PM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_vistaie
Re: Accessing apache server remotely from another machine (newbie).

JPollard, when I go to whatismyipaddress.com, it says "208.54.39.234".

How do I find out whether my wireless is a NAT?
Reply With Quote
  #13  
Old 23rd February 2012, 11:34 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,878
linuxfirefox
Re: Accessing apache server remotely from another machine (newbie).

All you need to do is "ifconfig -a" in a terminal window will list all active network devices.

What you get from "whatismyipaddress.com" is the external IP number most likely used by the NAT.
Reply With Quote
  #14  
Old 24th February 2012, 12:04 AM
heigold1 Offline
Registered User
 
Join Date: Feb 2012
Location: Los Angeles
Posts: 40
windows_7ie
Re: Accessing apache server remotely from another machine (newbie).

JPollard, I'll try that later when I get home.

Thanks so much for your help.

Brent.
Reply With Quote
  #15  
Old 24th February 2012, 03:47 AM
kttam Offline
Registered User
 
Join Date: Jan 2010
Posts: 8
windows_7chrome
Re: Accessing apache server remotely from another machine (newbie).

You stoped iptables, disabled selinux ?
Reply With Quote
Reply

Tags
accessing, apache, machine, newbie, remotely, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing apache server remotely from another machine (newbie). heigold1 Servers & Networking 1 23rd February 2012 10:02 AM
Trouble accessing VNC Server remotely. chrisn8cuh Using Fedora 2 22nd August 2008 04:51 AM
Printing, and Accessing X remotely vkapila Using Fedora 6 4th March 2005 03:59 AM
Accessing FC2 server from XP machine Duke Henry Servers & Networking 10 25th July 2004 10:46 AM


Current GMT-time: 00:21 (Wednesday, 26-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Trencin Instagram Photos - Tianpeng - Gwangju Travel Photos