# “您无法从该IP地址登录”，但IP未被阻止

**URL:** https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422
**Category:** Support
**Created:** [2020 年10 月 6 日 19:24 UTC](https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422 "2020-10-06T19:24:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### 作者： ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### 发布日期： [2020 年10 月 6 日 19:24 UTC](https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422/1 "2020-10-06T19:24:16Z")

</div>

你好。

我的一位用户无法登录，我无法找出问题所在。

其他用户没有遇到类似的问题。

按照 [这个](https://meta.discourse.org/t/ip-address-being-blocked-that-isnt-on-the-blocked-list/87833/2?u=canapin) 链接中的建议，我将一个测试 IP 添加到黑名单中，并尝试使用该测试 IP 登录。正如预期，我无法登录；当将该测试 IP 从黑名单中移除后，我也能如预期般正常登录。

该如何排查此问题？

---

<div class="post-metadata">

### 作者： ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### 发布日期： [2020 年10 月 7 日 11:01 UTC](https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422/2 "2020-10-07T11:01:36Z")

</div>

他们是否清除了缓存或尝试了其他浏览器？此外，他们能否更换网络，例如从 Wi-Fi 切换到移动数据，或者改用手机而非电脑，以确认问题是否仍然存在。

---

<div class="post-metadata">

### 作者： ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### 发布日期： [2020 年10 月 7 日 11:16 UTC](https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422/3 "2020-10-07T11:16:21Z")

</div>

是的，他在多个浏览器和设备上（来自不同的 IP）进行了测试，问题仅出现在他的家庭 IP 上。

---

<div class="post-metadata">

### 作者： ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### 发布日期： [2020 年10 月 7 日 11:37 UTC](https://meta.discourse.org/t/you-cant-log-in-from-that-ip-address-but-ip-not-blocked/166422/4 "2020-10-07T11:37:32Z")

</div>

需要检查的一项内容是：您的 IP 块列表中是否存在通配符（“CIDR 块”）。其格式可能类似于 `172.16.0.0/24`。

当前的搜索似乎未考虑 CIDR 块。
