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
- Query iplisten delete binding: httpcfg delete iplisten-I 192.168.0.1
- 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.