Are you trying to install another Xampp Server with a different version for whatever reason you have and you encountered an error regarding ports? Some would say that you should edit a file, but it did not work for me. Below are the steps that fixed the error for me.

  1. Open your new Xampp control panel.
  2. Go to Config (the one located at the top right corner of the window)
  3. Click Service and Port settings
  4. Change Main Post to 8080
  5. Change SSL Port to 4433
  6. Save your changes

Then Start your Apache and you shoud be good.