I can't access it normally using my domain name, what's going on?
日月真明*罗旭明
日月真明*罗旭明 2018-07-03 10:51:56
0
3
1224

I have just learned thinkphp, and the integrated environment I use is the PHP toolbox. In the site domain name setting, the domain name I use is www.tp5.com, and the path is D:\php\myphp_www\PHPTutorial\WWW\tp5\public. The port number is 82, and I also set 127.0.0.1 in the hosts file www.tp5.com. But when I write: www.tp5.com:82 in the browser address bar, the browser shows that it cannot be accessed. what reason? Ask the experts for advice, thank you!

日月真明*罗旭明
日月真明*罗旭明

reply all(1)
无忌哥哥

Is the error 404 or something else? You need to restart the service after the configuration is completed

  • reply Thanks for the answer. It's not a 404 error. I use Firefox and it says "Connection failed. Firefox cannot establish a connection to the www.myphp.com:81 server.". I have restarted the service numerous times.
    日月真明*罗旭明 author 2018-07-03 14:25:57
  • reply Thanks for the answer. It's not a 404 error. I use the Firefox browser and it shows "Connection failed. Firefox cannot establish a connection to the www.tp5.com:82 server.". I have restarted the service numerous times.
    日月真明*罗旭明 author 2018-07-03 14:46:15
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template