开发者

Cannot access website using host headers on local windows 7 and iis 7

I have a problem accessing my website cr开发者_开发知识库eated using Visual Studio on my local pc.

The pc is using Windows 7 and a static ip address has been configured. I have added a hostname "192.168.0.1 hosts myweb.mylocal.com" on c:\windows\system32\driver\etc.

On IIS I have configured the binding myweb.mylocal.com with impersonation set enabled and windows authentication is enabled.

The user login just keeps prompting even though I have entered the correct username and password.


Yea 192...* is router reserved IP.

I had the same issues with Windows 7 and and its due to IPV6.

Try disabling the IPv6 Protocol in "Control Panel\Network and Internet\Network Connections" and right clicking your stablished connection to your router, unticking the IPv6 and leaving the IPv4 selected to see if that will make a difference.;

Your local IP is more than likly :::1 or something along then lines!

-- Update

Where you have set you ip 192.168.0.1 to route to your local domain, try setting it to 127.0.0.1 so that it loops to itself and not via the gateway, Or you can leave it as it is and add the rule to your router to send traffic from the HTTP Port 80 to your PC.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜