IIS-related knowledge and experience fragmentation record, iis-related knowledge
1. the IIS (Internet Information Services) website can be accessed locally, and other machines in the LAN cannot access
One of the causes isFirewall RulesThe solution is as follows:
- [Start] Open [control panel], select [WINDOWS Firewall], and enter
- On the firewall page, select Advanced Settings on the left navigation bar]
- In the advanced security Windows Firewall window that appears, select inbound rules on the left sidebar, and then select create rule on the right sidebar]
In the displayed window, complete the following operations:
1. Select port and click Next;
2. Select [TCP] and [specific local port], fill in the port number to be opened (or open all ports, multiple ports can be separated by commas), and next step;
3. [allow connection]. Next step;
4. Select all network types and click Next;
5. Enter the custom name in "name", for example, IIS "complete ].
Note: This method is not valid when the firewall is completely disabled. You do not need to set an open port.
2. manually enable and disable IIS services
Services that need to be manually operated include:
- Service name: IISADMIN
Display name: IIS Admin Service
Description: allows this server to manage the IIS metabase. IIS metadatabase stores SMTP and FTP service configurations. If you stop this service, the server cannot configure SMTP or FTP. If this service is disabled, any service explicitly dependent on it cannot be started.
- Service name: W3SVC
Display name: World Wide Web Publishing Service
Description: Provides Web connection and management through Internet Information Service Manager.
3. Enable and disable IIS service commands
- Net command operation
Click Start> Run and Enter cmd to open the command window;
Enter net stop iisadmin/y, press enter to stop IIS, enter net start iisadmin, press enter to start IIS, and then enter net start w3svc to press enter web service.
IISReset command operation (recommended)
Click Start> Run and enter iisreset.
Update ......