July 19, 2011

How to change Apache Web Server default Listening Port.

It is a simple job to do and nothing is difficult in it.
I am writing this because I was searching for it on Google but did not find it easily.


If you've installed apache web server on windows, and you want to change default port because either you're using IIS or there's something already listening to port 8080/80.


To change default port goto:
C:\Program Files\Apache Software Foundation\Apache2.2\conf
Open httpd.conf in notepad. You can easily edit LISTEN Parameter to change Port.
In my case i've changed it to 98.