In this post we shall see How to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default? XAMPP Control Panel tries to open the Apache and phpMyAdmin pages at http://localhost, which is using http port 80. After changing Apache http port from 80 to 8080, Apache and phpMyAdmin can no longer be opened on port 80. So by clicking on "Admin" button on the XAMPP Control Panel, Apache and phpMyAdmin pages will not open. Instead we will see that the site cannot be reached.
In such a case, we need to manually add port 8080 after localhost in the URL in the browser address bar. Or, we can also configure XAMPP to open Apache and phpMyAdmin to open on port 8080 by default when the Admin button on XAMPP Control Panel is clicked.
How to change Apache http port from 80 to 8080 in XAMPP?
Watch this short video for steps. Or refer to this article for the steps.
How to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default?
As mentioned above, XAMPP Control Panel tries to open the Apache and phpMyAdmin pages at http://localhost, which is using http port 80. After changing Apache http port from 80 to 8080, Apache and phpMyAdmin can no longer be opened on port 80.
In such a case, we can also configure XAMPP to open Apache and phpMyAdmin to open on port 8080 by default when the Admin button on XAMPP Control Panel is clicked.
Watch this video how to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default:
Steps to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default
- Stop services from XAMPP Control Panel
- Click on CONFIG on the XAMPP Control Panel
- Click on SERVICE AND PORT SETTINGS
- On the Apache tab, change the port from 80 to 8080
- Click save
- Click save
- Start Apache
- Start Apache and MySQL Services from XAMPP Control Panel
- Click on Admin button on XAMPP Control Panel corresponsing to Apache and phpMyAdmin
- Apache and phpMyAdmin pages should open automatically using the port 8080
Alternative: to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default
You can configure XAMPP to open Apache and phpMyAdmin on port 8080 by default from XAMPP from the XAMPP userinterface itself as described in the video. Or you can also edit the settings in xampp-control.ini file as described below.
- Stop services from XAMPP Control Panel
- Navigate to C:\xampp
- Find the file xampp-control.ini
- Open the file xampp-control.ini in a notepad to edit
- Search for [ServicePorts]
- Under [ServicePorts], change Apache=80 to Apache=8080
- Save the file
- Start Apache and MySQL Services from XAMPP Control Panel
- Click on Admin button on XAMPP Control Panel corresponsing to Apache and phpMyAdmin
- Apache and phpMyAdmin pages should open automatically using the port 8080
0 Response to "How to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default?"
Post a Comment