0% found this document useful (0 votes)
170 views4 pages

How To Change XAMPP Server Port

To change the port number used by the XAMPP server, you need to: 1. Stop the running XAMPP server 2. Open the httpd.conf file and search for "Listen 80" to find the current port number 3. Change the port number from 80 to the desired new number 4. Also change the "ServerName" port number to match 5. Save and restart the XAMPP server Changing the port number allows running multiple web servers simultaneously to avoid port conflicts.

Uploaded by

ramofram
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
170 views4 pages

How To Change XAMPP Server Port

To change the port number used by the XAMPP server, you need to: 1. Stop the running XAMPP server 2. Open the httpd.conf file and search for "Listen 80" to find the current port number 3. Change the port number from 80 to the desired new number 4. Also change the "ServerName" port number to match 5. Save and restart the XAMPP server Changing the port number allows running multiple web servers simultaneously to avoid port conflicts.

Uploaded by

ramofram
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

(http://veerasundar.

com

/blog) Hello, I am

Veera Sundar (http://veerasundar.com /blog).


I create web apps with JavaScript & Java. twitter.com/vraa (http://twitter.com/vraa) github.com/vraa (http://github.com/vraa) Say hello (mailto:[email protected])

How to change XAMPP server port?


08 July 2009

How to change XAMPP server port?


To change the XAMPP server port number:
1. Stop the XAMPP server, if it is running already. 2. Open the file [XAMPP Installation Folder]/apache /conf/httpd.conf. 3. 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. 4. Then search for the string 'ServerName' and update

the port number there also. 5. 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. Get professional testking CISSP (http://www.testking.com/CISSP.htm) training to become expert web developer! Download the latest testking 70-646 (http://www.testking.com/70-646.htm) videos and testking 640-863 (http://www.testking.com/640-863.htm) study guides to learn useful web applications.

Join us in
Veera Sundar Blog
Like

Share
Tweet 5

1
340 people like Veera Sundar Blog.

Facebook social plugin

Previous Post
JUnit 4 testing for exception, execution time and disabling a test (/blog /2009/07/junit-4-testingfor-exception-executiontime-and-disabling-a-test/)

Next Post
Log4j Tutorial : Adding Log4j logger to your project (/blog/2009/07 /log4j-tutorial-adding-log4jlogging-to-your-project/)

49 comments

Best

Share

maideen

thanks

Jeanette

I have xampp running a local wordpress blog and its fine. I now need to export the database so I can make the site live but when I go to localhost, i get an error message 'object not found' xampp is working or i wouldn't be able to run wordpress, so i am very confused. anyone experience this or have any suggestions? I did have skype running, but its not using port 80. When I tried updating the httpd.conf file, I changed the port to 90, restarted xampp but then wordpress wouldn't run.

bishnu

is filezill or mercury necesarywat is d use

rony

At first i was install xamp afterwords oracle database. but problem is after installing oracle my xamp (apache) is not working. what do i do ?

Debendra Samal

How can i can my mysql default port no 3306. When I start mysql server it shows Busy......

Terrance

Thank you so very much!!!!!

shaima

Hi,

Designed by Veera. Fork @ Bitbucket (https://bitbucket.org/vraa/blog) / Github (https://github.com/vraa/blog).

You might also like