Due to unidentified problem, any service pid4 is using port 80 of my Windows 7-64 bit PC's. I ultimately decided to change my default port to 8080. But how can I change the way that when I enter localhost in URL, then automatically the data from 127.0.0.1:8080 comes.
I also edited the hosts file as
but it didn't work. Please help me someone.