自已电脑用PhpStudy配置服务器,域名设置网址后打不开了怎么办?
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在自已电脑上面用PhpStudy工具配置服务器,创建站点时不小心在域名位置输入了网址,<span style="color: black;">而后</span><span style="color: black;">本来</span>能<span style="color: black;">拜访</span>的网址被在本地电脑自动<span style="color: black;">拜访</span>了127.0.0.1而打不开了怎么办?</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0b1155b9a92d4d97b19578a14eeac3da~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728303191&x-signature=AkMufJATIldGvGJb%2FHTbr7hejCY%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">处理</span><span style="color: black;">办法</span>:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">打开本地电脑上的PhpStudy服务器软件 - 设置 - 配置文件 - hosts</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在hosts文件里,将最后面的</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">127.0.0.1 +网址</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">删掉<span style="color: black;">就可</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/95e7e85a63fd48428a8062b7bd9d35de~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728303191&x-signature=T22ZjxRaOx%2BJgkigGWmuM5kZM5o%3D" style="width: 50%; margin-bottom: 20px;"></div>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/bc13d2feadcd4f5abc8ff9fbe44a6e17~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728303191&x-signature=%2B9vxkKHByVDrVBZqHZKbVn2tAio%3D" style="width: 50%; margin-bottom: 20px;"></div>
你的见解独到,让我受益匪浅,非常感谢。
页:
[1]