IIS站点提示 403 - Forbidden: Access is denied问题解决方案

当在某些IP下访问IIS站点时遇到403-Forbidden错误,问题可能出在IIS的IP地址访问限制。用户应检查IIS管理器中的网站配置,特别是IP地址和域名限制设置。可以通过清除限制条件或添加允许访问的IP地址来解决此问题。首先找到限制条目,然后删除或修改它们以允许所需IP的访问。

表现情况如下:IIS服务器远程连接正常、服务器端的数据库访问正常,但就是在某些IP下甚至服务器本站访问网页出现以下错误:

403 - Forbidden: Access is denied.

You do not have permission to view this directory or page using the credentials that you supplied.

[外链图片转存失败,源站可能有防盗在这里插入!链机制,建描述]议将图片上https://传(imbl.csdnimg.cn/278eQlhL83ebb4da4debb4c3d328f47e.png98981)(You do not have permission to view this directory or page using the credentials that you supplied.)]

作为新手,初期可能想到是否是IIS组件缺少、防火墙IP限制等等问题。或许经过修改防火墙策列容易解决部分IP访问的报错问题,但是很容易忽略IIS本身有IP地址访问限制功能,建议先修改IIS自身的IP地址限制功能。

修改办法如下

路径:IIS管理器->网站->(当前网站)->IP地址和域名限制

要么清空所有条件,要么增加当前访问的IP地址。
在这里插入图片描述
1、找到限制的条目
在这里插入图片描述

2、删除条目
在这里插入图片描述

ftp> ls 200 EPRT command successful. 125 Data connection already open; Transfer starting. 08-18-25 10:50AM 19 test.txt 226 Transfer complete. ftp> ls 200 EPRT command successful. 125 Data connection already open; Transfer starting. 08-18-25 10:50AM 19 test.txt 226 Transfer complete. ftp> dir 200 EPRT command successful. 125 Data connection already open; Transfer starting. 08-18-25 10:50AM 19 test.txt 226 Transfer complete. ftp> pwd Remote directory: / ftp> send /home/wangjuncong/Documents/array_test.c / local: /home/wangjuncong/Documents/array_test.c remote: / 200 EPRT command successful. 550-Access is denied. Win32 error: Access is denied. Error details: Write access for the root of the virtual directory is forbidden. 550 End ftp> system 215 Windows_NT ftp> mkdir test_dir 257 "test_dir" directory created. ftp> ls 200 EPRT command successful. 125 Data connection already open; Transfer starting. 08-18-25 10:50AM 19 test.txt 08-18-25 11:01AM <DIR> test_dir 226 Transfer complete. ftp> put empty_test_file local: empty_test_file remote: empty_test_file ftp: Can't open `empty_test_file': 没有那个文件或目录 ftp> status Connected and logged into 10.160.87.29. No proxy connection. Gate ftp: off, server (none), port ftpgate. Passive mode: off; fallback to active mode: off. Mode: stream; Type: ascii; Form: non-print; Structure: file. Verbose: on; Bell: off; Prompting: on; Globbing: on. Store unique: off; Receive unique: off. Preserve modification times: on. Case: off; CR stripping: on. Ntrans: off. Nmap: off. Hash mark printing: off; Mark count: 1024; Progress bar: on. Get transfer rate throttle: off; maximum: 0; increment 1024. Put transfer rate throttle: off; maximum: 0; increment 1024. Socket buffer sizes: send 16384, receive 131072. Use of PORT cmds: on. Use of EPSV/EPRT cmds for IPv4: on. Use of EPSV/EPRT cmds for IPv6: on. Command line editing: on. Version: tnftp 20210827 ftp> send /home/wangjuncong/Documents/array_test.c /test_dir local: /home/wangjuncong/Documents/array_test.c remote: /test_dir 200 EPRT command successful. 550-Access is denied. Win32 error: Access is denied. Error details: File system denied the access. 550 End 测试如下,就是无法发送,怎么办
08-19
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值