localhost

Set Localhost Port for XAMPP

Set listen port C:\xampp\apache\conf

Sometimes the network doesn’t allow port 80, when we set up xampp and we can’t access localhost. We need to change the listen port to a new value, and every time we want to access localhost, we need the “:newport”.