search

Home  >  Q&A  >  body text

The windows version of phpstudy can only be accessed through localhost, but not through IP!

Like the title, I don’t know why, it’s very urgent.

The firewall has been turned off! 360 is also closed!


YesNoYesNo2315 days ago2550

reply all(6)I'll reply

  • 小生我怕怕啊

    小生我怕怕啊2018-09-10 18:24:04

    Access 127.0.0.1

    reply
    0
  • 秋香姐家的小书童

    秋香姐家的小书童2018-09-10 14:55:59

    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

    reply
    0
  • YesNo

    I ran it locally

    YesNo · 2018-09-10 15:30:04
    秋香姐家的小书童

    This 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

    秋香姐家的小书童 · 2018-09-10 17:27:08
    YesNo

    You 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

    YesNo · 2018-09-10 21:49:38
    风行者

    127.0.0.1, not the one of 192. You will know after trying it. The two concepts are different.

    风行者 · 2018-09-17 03:48:25
  • z老师

    z老师2018-09-10 09:51:49

    Please describe your problem in detail, or join php Chinese network 10 group: 713719894 @Group administrator feedback!

    reply
    0
  • YesNo

    I 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!

    YesNo · 2018-09-11 21:41:50
  • Cancelreply