How to access my localhost from another PC in LAN?

This is the place to discuss the latest computer hardware issues and technology. Please keep the discussion ON TOPIC!
Post Reply
Kathryn821
Legit Little One
Legit Little One
Posts: 1
Joined: Mon Oct 08, 2018 5:11 am

How to access my localhost from another PC in LAN?

Post by Kathryn821 » Wed Nov 28, 2018 3:42 am

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.

User avatar
KnightRid
Moderator
Moderator
Posts: 3894
Joined: Wed Dec 14, 2005 5:21 am
Location: Dallastown, PA

Re: How to access my localhost from another PC in LAN?

Post by KnightRid » Wed Nov 28, 2018 9:44 am

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.
Cigar Blog I review for - http://www.stogiereview.com

Remember, I am opinionated and nothing I say or do reflects on anyone or anything else but me :finga:

User avatar
bubba
Staff Writer
Staff Writer
Posts: 4688
Joined: Sun May 01, 2005 10:24 am
Location: STL

Re: How to access my localhost from another PC in LAN?

Post by bubba » Wed Nov 28, 2018 10:57 am

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.
"The democracy will cease to exist when you take away from those who are willing to work and give to those who would not."
-Thomas Jefferson

Post Reply