0

Recently, I installed XAMPP Control Panel to do PHP project. But it does not allow to connect to Apache server. It gives following error message in XAMPP Control Panel.

My laptop has Window 10 and have Visual Studio 2010, 2012, 2015 and Skype installed.

Screenshot of XAMPP Control Panel which gives error when try to connect to Apache Server.

Mohan Perera
  • 370
  • 1
  • 4
  • 15

1 Answers1

0

Try changing the port of either of the one (skype or apache). Follow these links to do so:

If still you find any issue, feel free to comment.

Ronit Mukherjee
  • 405
  • 2
  • 10
  • Great answer. Changing Skype port didn't work. But I changed Apache port into 1234 as it is mentioned in the link you posted. Now Apache server is connecting. But project is not working with XAMPP. When I run it with Chrome, it gives following error.This localhost page can’t be found No webpage was found for the web address: http://localhost/Car%20Exporter/index.html Search Google for localhost Car Exporter index HTTP ERROR 404 – Mohan Perera Nov 21 '17 at 12:17
  • This is so because now your apache is listening at port 1234. Therefore http://localhost will not work directly as it means http://localhost:80. To make it work if you write http://localhost:1234 it should work. Try this suggestion, if still, you feel any issue let me know. – Ronit Mukherjee Nov 21 '17 at 12:21
  • Superb **Ronit**. Your suggestion works very well. Thank You very much for your help. – Mohan Perera Nov 22 '17 at 02:50
  • I changed the port number of Apache Server to 1234 as you said. Will it create issues in the future for other programs in the laptop ? I mean, will it be a problem for my Visual Studio local server ? Can you explain any other side effects ? – Mohan Perera Nov 24 '17 at 09:02