Page 1 of 1
How to access my localhost from another PC in LAN?
Posted: Wed Nov 28, 2018 3:42 am
by Kathryn821
I am using WAMP server to run my website. I am using Windows 7.
I created LAN between 2 PC and I want to access my localhost from the second PC.
Note that I am not using Internet connection so I couldn't use IP address.
Please, give me your suggestion.
Re: How to access my localhost from another PC in LAN?
Posted: Wed Nov 28, 2018 9:44 am
by KnightRid
I do not understand what you want to do. Even without internet, as long as you are connected to your network you will have an IP address. You can set up windows shares for folders/etc using the local ip address. (normally something like 192.168.0.XXX)
If you want to remote into the computer you could use a program like teamviewer.
Re: How to access my localhost from another PC in LAN?
Posted: Wed Nov 28, 2018 10:57 am
by bubba
Kathryn821 wrote:I am using WAMP server to run my website. I am using Windows 7.
I created LAN between 2 PC and I want to access my localhost from the second PC.
Note that I am not using Internet connection so I couldn't use IP address.
Please, give me your suggestion.
By defualt WAMP does not allow external access. You have to turn it on.
Start the WAMP server, then go to lower right, left click on the WAMP system tray icon, the choose Apache, then httpd-vhosts.conf
In there change the line "require local" to "require all granted", save, and then try and access the site from your other PC buy putting in the IP address of the WAMP server.