Accessing localhost (xampp) from another computer over LAN network - how to?

后端 未结 24 3102
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 14:01

I have just set up a wi-fi network at home. I have all my files on my desktop computer (192.168.1.56) and want to access localhost over there from another computer (192.168.

24条回答
  •  粉色の甜心
    2020-11-22 14:36

    If someone is still finding it hard, this simple thing worked for me:

    1. On you main system let's say Hosting PC... Go to Control Panel > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall > Change settings > Find "Apache HTTP Server" > Check both the check-boxes (under Private & Public). See Screenshot

      • In my case there were two "Apache HTTP Server" entries, so I checked both the check-boxes for both entries.
    2. On any another system connected over a same network... Open browser > type: your hosting pc's IP adress followed by your project name in the url bar. Example: 192.168.72.111/example.com/

    Hope it helps! Thanks.

提交回复
热议问题