[英]unable to connect through website using localhost or IP address
I am trying to connect to a website which is hosted locally on a server but unable to connect. 我正在尝试连接到本地托管在服务器上但无法连接的网站。 I have reset the IIS and try to connect it using local host but its is not working.
我已经重置了IIS,并尝试使用本地主机连接它,但是它不起作用。 I haven't change any thing and able to connect through it yesterday.
我没有更改任何东西,并且昨天能够通过它进行连接。 Can some please help and tell me what to do and what are the possibilities that why I am not able to connect.
可以请一些帮助并告诉我该怎么办以及为什么我无法连接的可能性有哪些。
Try to check three things. 尝试检查三件事。
If you are using a local host name check that, the same bindning is set on your site and that the same host name row exists in your hosts file (usually in C:\\Windows\\System32\\Drivers\\etc\\hosts) like this example: 如果使用本地主机名,请检查是否在站点上设置了相同的绑定,并且主机文件中存在相同的主机名行(通常在C:\\ Windows \\ System32 \\ Drivers \\ etc \\ hosts中),如以下示例所示:
127.0.0.1 localsite.dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.