Tech Tips on Computers, Internet, Blogging, Web Development, Social Media, Android and more

Full width home advertisement

Post Page Advertisement [Top]

How to configure XAMPP to open Apache and phpMyAdmin on port 8080 by default

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.
after-changing-port-8080-apache-page-not-opening-xampp

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
xampp-control-panel-change-apache-port-80-8080-userinterface

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

1 comment:


  1. There is a great importance of Web Design & Social Media for Businesses. Everybody knows how important social media is for businesses and web designs these days. In order for any business to be successful, establishing a social media strategy is essential. Part of the strategy should include website design.hosting webmaster visit: https://www.bynd.co.in

    ReplyDelete

Bottom Ad [Post Page]