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.
You need to find what your local network's IP of that computer is. Then other people can access to your site by that IP. You can find your local network's IP by go to Command Prompt or press Windows + R then type in ipconfig . It will give out some information and your local IP should look like 192.168.
You have to edit httpd.conf
and find this line: Listen 127.0.0.1:80
Then write down your desired IP you set for LAN. Don't use automatic IP.
e.g.: Listen 192.168.137.1:80
I used 192.167.137.1
as my LAN IP of Windows 7. Restart Apache and enjoy sharing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With