There are many ways to install IIS and Apache web server on the same computer. One easy way is to make IIS listen on the standard port that is 80 and make Apache web server listen on the other port that is 8080.
To make Apache web server listen on the 8080 port Locate the following code in your Apache httpd.conf file:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80
Change Listen 80 to Listen 8080.
Restart your Apache web server.
Now, both of your servers run on the same machine. You can try by opening your web browser and type:
- http://localhost (IIS – asp.net)
- http://localhost:8080 (Apache)
No comments:
Post a Comment