Enter localhost, 127.0.0.1, And the IP address of the Local Machine to access the local IIS, but other hosts in the LAN cannot access the local IIS. Other hosts can ping the IP address of the host. Hosts in the LAN cannot be accessed, not to mention those on the Internet! In addition, I can access all of them some time ago. This time, I suddenly cannot access them? [Solution]: this may be a problem in system security settings. The firewall may block web access from external hosts because Windows Firewall is enabled or the firewall configuration is changed due to system updates or accidental operations.
To solve this problem, either disable the firewall or set the firewall to allow
1. Go to control panel → Windows Firewall → select "close" → OK
2. Go to control panel → Windows Firewall → advanced → local connection (the network connection you are currently using may also be local connection 2, depending on your situation) → settings → service → tick "Web Server (HTTP)" → OK. If you want to add a new IIS port, such as 8080, you need to add an application in advanced
If you have other system applications, you also need to open them. For example, if you modify the remote logon port number, you cannot log on remotely if you do not open it.