Jump to content
xisto Community
tinoymalayil

Changing The Default Port Of Apache Http Server

Recommended Posts

Hi All,How can i change the default port 80 of Apache Http Server?. I hav IIS web server installed in my machine with the port 80. To work with php application, I have to install Apache Http Server with port other than 80. It is defficult to start and stop the web server services to use the port 80 for IIS server and Apache Http Server. Can anybody reply solution for this..Regards,Tinoy

Share this post


Link to post
Share on other sites

They can both be configured to use Port 80, but you will only be able to have one of them running at a time. You needs to be careful about whether to auto start one of them and make certain it is stopped before firing up the other Server.Another solution is to alter Apache or IIS to listen/use Port 81 instead of the typical Port number 80.A downside to changing the Port number is that the Port would need to be identified in the URL .ie: http:// localhost:81 becomes the address of your localhostSitepoint has a decent article here: https://www.sitepoint.com/run-apache-iis-same-pc-2/ that also outlines how to use batch files to start/stop the Servers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.