Which port to change to?

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

Which port to change to?

Postby lungov » 26. December 2012 20:38

Hi,

I just extracted all the files and started the control panel, but ports 80 and 443 are already being used by "c:\windows\system32\wwahost.exe" which I later found out to be the Windows Store. It makes sense, because I don't remember having this issue on Windows 7, but anyways... The message I received in the control panel is the same as in many other topics, but I kept it below as other users might find this one first.

My question is what ports should I change Apache to. I don't want to just start guessing numbers as I know close to nothing about what I'm doing or what that causes in my computer.

I saw a reply to another topic where it says that, for SSL (port 443) at least, it is not just changing the port number in the control panel but I would also need to change it in the httpd-ssl.config file. If that is also needed for port 80, please advise.

Thank you very much in advance.


16:20:28 [Apache] Problem detected!
16:20:28 [Apache] Port 80 in use by "c:\windows\system32\wwahost.exe"!
16:20:28 [Apache] Apache WILL NOT start without the configured ports free!
16:20:28 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:20:28 [Apache] or reconfigure Apache to listen on a different port
16:20:28 [Apache] Problem detected!
16:20:28 [Apache] Port 443 in use by "c:\windows\system32\wwahost.exe"!
16:20:28 [Apache] Apache WILL NOT start without the configured ports free!
16:20:28 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:20:28 [Apache] or reconfigure Apache to listen on a different port

xampp 1.8.1
apache 2.4.3
control panel 3.1
windows 8
lungov
 
Posts: 2
Joined: 26. December 2012 20:11
Operating System: Windows 8

Re: Which port to change to?

Postby hackattack142 » 26. December 2012 23:23

Hello,

You need to make the changes in both places.

For the HTTP port > /xampp/apache/config/httpd.conf and reconfigure the control panel port
For the HTTPS port > /xampp/apache/config/extra/httpd-ssl.conf and reconfigure the control panel port

If you change a port from a default port, you need to specify it when you go to a URL. If you change port 80 to 81 for example, you would need to go to http://localhost:81 to get to it

Typically, which port you choose is not a huge deal as long as it is a free port http://en.wikipedia.org/wiki/Port_%28co ... working%29
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Which port to change to?

Postby lungov » 27. December 2012 23:03

Thank you, hackattack. It turned out I just logged off Windows Market and restarted Apache. I'll try to understand better what ports are and how to work with them.
lungov
 
Posts: 2
Joined: 26. December 2012 20:11
Operating System: Windows 8


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 109 guests