windows IIS: allow inbound visit

本文介绍了解决使用IIS设置网站后,从服务器内部无法访问该网站的问题。通过调整Windows防火墙设置,允许TCP端口80的连接,确保网站能够正常从局域网访问。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

After setting up the website in IIS, you find find that you can visit the website from the server but can't access to it via the LAN.

This is caused by windows firewalls, as it does block the inbound visit initially.

To turn on this,

go to control panel -> system & security -> windows firewall -> advanced setting -> inbound rules -> new rule


in the pop-up window

select port -> tcp & 80 -> allow the connection -> select all including domain, private and public -> give a descriptive name to this rule -> finish.


Now it should work all right.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值