I installed Visual Studio 2010 after WAMP and had to turn on IIS. Now I want to use my WAMP but my Apache is not turning on even after I have disabled IIS and even uninstalled my Visual Studio 2010.
You can set the port number in httpd.conf
configuration file of Apache server.
Usually inside the "conf" folder of Apache installation folder. (Say, c:\wamp\Apache2\conf\httpd.conf
)
Then change the line Listen 80
to Listen 8081
. Restart your Apache server.
Tip: You can install IIS and Apache together, and you can work on both at the same time. All what you need is, set different port numbers for Apache and IIS.
By default, both of them use Port 80, but you can change it as said above.
I forgot to mention, when you're using a port number other than 80, you MUST change the browser addressbar as http://localhost:8081/
or http://127.0.0.1:8081/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With