port changes not shown in xampp port check

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

port changes not shown in xampp port check

Postby xamppcreator » 14. January 2010 10:47

HI. I have changed the http and https ports in the apache config file because I want to run ms pws/iis and apache without port conflicts, leaving port 80 for the ms products. Now, when I click 'port check' in the xampp control panel, the ports are still listed with the old numbers. And, if I click the 'admin' button, xampp doesn't seem to know that I have changed the ports. I have to put the new port number into the browser. Is there a way of letting xampp know that I have changed the ports? What have I not done, or what have I done incompletely? Many thanks for any help offered.
Posts: 1
Joined: 13. January 2010 15:43

Re: port changes not shown in xampp port check

Postby Izzy » 14. January 2010 11:04

xampp-portcheck.exe in the xampp folder is hard coded as is the xampp-control.exe (XAMPP Control Panel - XCP) and unless you know how to, then it can't be changed.

So clicking on the Admin... button in XCP, after you have changed the ports, will not be able to find the admin page - you will have to type the URI manually every time you want to see it.

xampp-portcheck.exe can be opened with WinRAR by a right click and select to Open with...

When opened in WinRAR it will reveal all the files which, if you are capable, you could perhaps edit the ( ©2009 Carsten Wiedmann ) visual basic script to suit your own needs - not recommended.

Rather than use the hard coded port check you can type netstat -aon at a shell prompt by clicking on the Shell button in XCP - to find what is using the TCP ports like the ones you are using after your Apache configuration changes.

Alternatively, you could use the underlying utility in XAMPP's port check called CurrPorts, an excellent free utility from NirSoft's collection of free Windows utilities:

After changing the ports in the Apache conf files then you will always have to add the port number to the URI - http://localhost:8080/index.php for example.
Posts: 3344
Joined: 25. April 2006 17:06

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests