IIS-related knowledge and experience fragmentation record, iis-related knowledge

Source: Internet
Author: User
Tags net command custom name

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 ......

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.