Question:
Web Server Not Seen on LAN?
cyphus573
2009-02-10 22:19:16 UTC
I have Apache and PHP running on Windows XP, and I'm using them to test and debug my PHP scripts before uploading them to an external site. On the same machine using localhost, the scripts and pages run just fine, I want to be able to test my website with a Mac in Safari for compatibility.

I have the Mac on the same network, and checked my LAN IP for the XP machine to be 192.168.1.101, however, going to that IP on my mac returns a server not found error. Is there some kind of setting in Apache to make the server public?
Four answers:
2009-02-10 22:29:46 UTC
hmmmmmmm

the server should be live to all of the machines on your local network



you can try typing in the xp machine's ip from the xp machine it's self

to see what happens



also you can try to see if other computers on the network (besides the mac) can access the server on the xp machine



another thing may be syntax

maybe trying http://192.168.1.101/ on the mac maybe?

to see what happens



apache is pretty automatic, as long as it is running in the system tray of your xp computer, it should be live and listening for incoming requests from other machines on the network



making an apache server live to the internet would require opening up port 80 on the router or gateway



i run a web server with apache on my home network and i can usually acess it with my imac as long as both machines are linked to my router and the ip address for my server is correct



good luck :-)
2009-02-10 22:26:02 UTC
Can't attest specifically to the Mac but I've set up an Apache server at work for a bunch of XP machines and if you're using virtual hosts on Apache you may need to set your hosts file on the Mac - if ithe Mac uses a hosts file.



I know I had to set the hosts file on the XP machines to my machine so that people could go right to the internal site without having to remember the IP address.



Hope that helps!
?
2016-10-25 15:14:00 UTC
All outdoors IP addresses will be accessed from information superhighway in the adventure that they are not blocked by firewalls. on your case this possibly the Gateway computer or the firewall pc protecting your Lan. you are able to open ports interior the firewall. Setup NAT ideas if it truly is a packet filter out so as that your server pc with interior IP can receive the packets from outdoors IP. Get in contact with whoever manages your firewall.
Larry M
2009-02-10 22:28:34 UTC
not without making it PUBLIC (on the net) to view it across your private net you would need virtual machine or something like it and apple talk enabled


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...