nginx - lnmp build environment can be accessed locally, but cannot be accessed from the external network
習慣沉默
習慣沉默 2017-05-16 17:25:11
0
2
860

For example, localhost/phpinfo.php can be accessed, 192.168.1.X/phpinfo.php cannot be accessed~

習慣沉默
習慣沉默

reply all(2)
曾经蜡笔没有小新

The local firewall configuration and router settings are not given. The computer itself does not know that 192.168.1.x is the local computer. The request goes to the router and then returns.
Try the following:

  • Turn off local firewall
    Or
  • Add the 192.168.1.x rule pointing to localhost in the hosts file
淡淡烟草味

Where do you think 192.168.1.x (your local machine) is equal to localhost?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template