Question

everytime I try debug my website I press the F5 key. It will always start with this address

http://localhost:xxxxx/Default.aspx

but the website wont run unless I change the localhost to 127.0.0.1. How do I allow it to run even though it is localhost without having to specify the URL in my project properties?

Was it helpful?

Solution

Add localhost 127.0.0.1 to your hosts file ref http://helpdeskgeek.com/windows-7/windows-7-hosts-file/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top