How to access my localhost from another PC in LAN?

前端 未结 4 1693
情歌与酒
情歌与酒 2020-12-06 01:10

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 n

4条回答
  •  不知归路
    2020-12-06 01:41

    Actualy you don't need an internet connection to use ip address. Each computer in LAN has an internal IP address you can discover by runing

    ipconfig /all
    

    in cmd.

    You can use the ip address of the server (probabily something like 192.168.0.x or 10.0.0.x) to access the website remotely.

    If you found the ip and still cannot access the website, it means WAMP is not configured to respond to that name ( what did you call me? 192.168.0.3? That's not my name. I'm Localhost ) and you have to modify ....../apache/config/httpd.conf

    Listen *:80
    

提交回复
热议问题