I am a 15 year old Web Developer. I have designed few websites.I am using Xampp Control Panel.I installed it about a week ago.On that day it worked without any problem.But after about a week ,I started Apache module in Xampp Control Panel module gets green colour then it shows its PID,Port which is 80 and 443,and the .I headed to Google Chrome and when I typed `localhost` there I get the error 'This site can’t be reached.localhost took too long to respond.' after about loading for 2-3 minutes.During loading I see `Connecting...` at the bottom left corner of Google Chrome.
And I am running Windows 10 Home.After I installed Xampp Windows was updated about twice.
I have tried,
In `Xampp -> Netstat` there was no another application listening on port 80 except `httpd.exe`.
I have reinstalled Xampp about more than 5 times.
I have typed `netsh winsock reset` and restarted the system.(This was in a StackOverFlow Thread)
I have uninstalled Xampp and tried IIS(Internet Information Services) Web Server and it worked fine.But I need to work in Apache.I don't know why IIS worked and Apache didn't.
How to fix this.I want my Apache Server to run without any problem.