Solutions to IIS server problems

Source: Internet
Author: User

The IIS server can be used independently as a Web server or together with compatible tools, it can be used to establish Internet business, access and operate data from different data sources, and create Web applications. These applications use server scripts and component code to complete some client-server functions.

Apache and IIS servers are widely used Web platforms.

IIS servers are closely integrated with Windows NT servers. This ensures that network administrators and application developers have the same security, network, and management functions as Windows NT servers.

We installed IIS and apache on the local machine for the debugging program, but we cannot use port 80 at the same time. Below, we will explain the solution for you:

IIS server, coexistence under multiple IP addresses, IIS server is 192.168.0.1, apache is 192.168.0.2 original address

To support/tools/Support. cab under CD 2003. Decompress the httpcfg.exe file and COPY it to the windows/system32/directory.

Bind the command line to an IP address: httpcfg set iplisten-I 192.168.0.1. That is, the command uses the IIS server to only listen to the specified IP address and port to view the binding: httpcfg

 
 
  1. Query iplisten delete binding: httpcfg delete iplisten-I 192.168.0.1
  2. Command Line net stop Apache2 net stop iisadmin/y net START Apache2 net START w3svc


Make sure that the IP address under the IIS server is set to the global default. If the listen 192.168.0.2: 80 parameter is set to httpconf in Apache, the two services can run simultaneously without conflict.

The access address of the IIS server is http: // 192.168.0.1, and that of the Apache server is http: // 192.168.0.2.

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.