How can I access localhost from another computer in the same network?

user2735791 picture user2735791 · Oct 20, 2013 · Viewed 239.7k times · Source

I just recently downloaded WAMP Server to view and edit php webpages but now I would also like other people in my network (connected to the same wifi) to be able to access localhost and all the files that I have saved. I have already tried to access localhost and my WAMP server was already online, however that didn't work. Can someone help me out? Thanks in advance!

Answer

Tri Hoang picture Tri Hoang · Oct 20, 2013

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.1.x.