XAMPP ERror

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP ERror

Postby kushalpogul » 12. February 2013 12:12

To change the XAMPP server port number:

Stop the XAMPP server, if it is running already.
Open the file [XAMPP Installation Folder]/apache/conf/httpd.conf.
Now search for the string Listen 80 (I’m assuming that your XAMPP was using the port 80. Otherwise, just search for the string “Listen”). This is the port number which XAMPP uses. Change this 80 to any other number which you prefer.
Then search for the string “ServerName” and update the port number there also.
Now save and re-start XAMPP server and you are done.

Why do we need to change the port number? Because, these days, it is very common that a web developer needs to have multiple web servers running, all at the same time. For example, an XAMPP server can be used to run the local WordPress blog, while a JBoss server also needs to be up for testing a java web applications. In such scenarios, if two or more servers are trying to use the same port number, then the late comer will fail to get the port. So, it becomes necessary to change any one server’s port number to avoid the conflict.
Last edited by kushalpogul on 13. February 2013 04:34, edited 1 time in total.
kushalpogul
 
Posts: 1
Joined: 12. February 2013 11:56
Operating System: Windows XP

Re: XAMPP ERror

Postby Nobbie » 12. February 2013 14:51

Nobbie
 
Posts: 13165
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 180 guests