Is it used on the server? ? ? Some computer room IPs are not allowed to be accessed directly. If localhost can be accessed normally in PHPSTUDY, other services can only comply with the restrictions of the computer room
replyThis machine can only use the local IP 127.0.0.1 and the IP address generated by the router. If you want the local computer to be accessed by the external network IP, you can use dynamic domain name or dynamic IP software such as peanut shells to achieve this. One method is router address mapping
replyYou are thinking too much. I run the server locally. The internal network address of this machine is 192.168.1.10. I use http://192.168.1.10:port to access it. It is not accessed through the external network address as you understand. I still have common sense! Why
replyI think it's a problem with my machine. This machine has been reinstalled many times, and except for the C drive, the data on other drives has not been formatted. My phpstudy was installed on another disk, although it was reinstalled. In the same installation method before, I can access it using IP on my local browser, but this time it doesn't work. However, I can access it on my mobile phone through IP, and I can also access it on other computers using IP, but it is not possible this time. The machine IP cannot be accessed, that’s weird!
Access 127.0.0.1
Is it used on the server? ? ? Some computer room IPs are not allowed to be accessed directly. If localhost can be accessed normally in PHPSTUDY, other services can only comply with the restrictions of the computer room
Please describe your problem in detail, or join php Chinese network 10 group: 713719894 @Group administrator feedback!