Apache server configuration and IIS port conflict resolution

Source: Internet
Author: User

1. I installed a httpd-2.2.17-win32-x86-no_ssl.msiapache here, double click to install

2. Agree to the Agreement

3. Next Step

4. Enter the network domain name, service name, and administrator email address.

5. Select Custom installation Custom

6. Select the installation content and set the installation path.

7. Confirm Installation

8. Enter http: // 127.0.0.1 in the browser to display the IIS 7 interface. This is because the IIS server has been installed on my computer and the port number is also set to 80, you need to modify the default port number.

9. Modify the default port number

(1) The conf folder in the apache installation directory contains a text document such as httpd. conf,

It is an Apache configuration file used to run Apache. The default Web Service port number of Apache is configured (modified) here ).

To modify this file, you must first open it and double-click it. Then, press Ctrl + F on the keyboard and enter Listen 80 in the pop-up "Search" dialog box, I changed it to 8082.

(2) restart the apache2.2 service after saving it, right-click "my computer", and select "manage" to go to, for example, restart apache.

10. Final quiz: Enter http: // 127.0.0.1: 8082/in the browser. "it works!" appears !"

Note: If you modify the default port number (if you change Listen 80 to Listen 8082), you must add a colon + port number to the address, such as http: // localhost: 8080 or

Http: // 127.0.0.1: 8082. Only in this way can you access the webpage on the Apache server.

 

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.