XAMPP Sharing (Localhost)

Sup3rCow

Active Member
Joined
Nov 20, 2009
Messages
85
Reaction score
0
Hi Guys,

I have a problem. I want to share my localhost on PC 1 so all the other PC's on my network can view my work. So when they enter localhost into their PC's it will open up my pages.
How can I do this?

I am running:
Windows 7 Ultimate with an XAMPP Control Panel(Apache 2.2 & MySQL)

Thanks in advance
Sup3rCow
 
As Veyron says, localhost or 127.0.0.1 is specially reserved for your own PC only, can't be accessed from other PC's and every PC has a localhost/127.0.0.1

So you will have to use your LAN IP address, something like 192.168.0.100, and then they will get access to it.
 
Believe me I tried like a million tries, but I can't access it through the network. My PC's IP-Address is 10.0.0.3, but still no luck.
 
have you checked that port 80 is open on your firewall if your webserver is running on port 80.
 
I have exactly that type of setup here at my office, where my main pc, which is named pc1, is running xampp and functions as the web server, and another desktop on the LAN as well as a laptop on wireless access the websites on http://pc1. If you need to find your server's name then open Windows Explorer, right click on 'Computer', and scroll down to Properties.
 
Top
Sign up to the MyBroadband newsletter
X