How to access my localhost from another PC in LAN?

前端 未结 4 1680
情歌与酒
情歌与酒 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:58

    IP can be any LAN or WAN IP address. But you'll want to set your firewall connection allow it.

    Device connection with webserver pc can be by LAN or WAN (i.e by wifi, connectify, adhoc, cable, mypublic wifi etc)

    You should follow these steps:

    1. Go to the control panel
    2. Inbound rules > new rules
    3. Click port > next > specific local port > enter 8080 > next > allow the connection>
    4. Next > tick all (domain, private, public) > specify any name
    5. Now you can access your localhost by any device (laptop, mobile, desktop, etc).
    6. Enter ip address in browser url as 123.23.xx.xx:8080 to access localhost by any device.

    This IP will be of that device which has the web server.

提交回复
热议问题