سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top