Change browser/system default localhost port (80) to custom

When I using XAMPP or WAMP I getting the following issue:

XAMPP – Port 80 in use by “Unable to open process” with PID 4! 12

And it`s easy to solve it by changing the .ini file of Apache and tell him to use port 8080 (for example)…

But then I need always to specify in the URL the custom port:


While without modifying the default Apache localhost port: When he is the original 80, I could just put:


So I guess port 80 is default not just for Apache but for something else. My question if there is other way to config default parameter of browser/windows-system/whatever, to tell him that the default localhost port is now 8080 (for example), so I can still use the shorter URL version…


Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.