search

Home  >  Q&A  >  body text

I can't access it normally using my domain name, what's going on?

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!

日月真明*罗旭明日月真明*罗旭明2396 days ago1236

reply all(3)I'll reply

  • 无忌哥哥

    无忌哥哥2018-07-03 11:21:16

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

    reply
    0
  • 日月真明*罗旭明

    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.

    日月真明*罗旭明 · 2018-07-03 14:25:57
    日月真明*罗旭明

    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.

    日月真明*罗旭明 · 2018-07-03 14:46:15
  • Cancelreply