Вопрос

I'm using netsh http add urlacl url=http://devsite1:80/ user=everyone as mentioned at http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx to work with 80 and 443 SSL port, but web browser can't bind my http://devsite1 local address and them, nothing work.

Should be really have set line as 127.0.0.1 devsite1 at hosts file in Windows drive etc folder?

Это было полезно?

Решение

In this link above he said:

My machine is called HANSELMAN-W500, so I'll use that name. You could update your hosts file and use a friendly name. To start, use your computer name. if you don't know the name of your computer, you're silly. Go to the command prompt and type "HOSTNAME" to find out.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top