简体   繁体   中英

Hosting Website to local in IIS

I am able to host website in IIS 8 but not with ip add. The binding with ip and browsing the site in chrome gives 'ERR_NETWORK_ACCESS_DENIED' http://localhost - works http://10.111.148.133/ - does not work.

Seems you are using your public IP.

You can browse using your local IP address. Your local IP address should be some thing like 192.168.xxx.xxx .

You can check your local Ip address using the following command in command prompt.

ipconfig/all

if you want to access your site using public ip, then you need to port forward from your public IP to localIp by setting the DMZ Host in your router.

Along with the above answer, try going through your Firewall settings on the host computer and enabling anything related to IIS or port 80.

You can easily figure out if your antivirus or firewall is the issue by temporarily disabling it.

However, I think your issue is that you grabbed your public IP address, off whatsmyip.com or something, you just need to exec ipconfig to see what your local IP is.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM