# You can't log in as ... from that IP address

**URL:** <https://meta.discourse.org/t/you-cant-log-in-as-from-that-ip-address/418608>\
**Category:** Self-hosting\
**Created:** [November 30, 2026, 10:12am UTC](https://meta.discourse.org/t/you-cant-log-in-as-from-that-ip-address/418608 "2026-11-30T10:12:13Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

[lukasjelinek](/t/-/418608/1) reports that several users are unable to log in to a self-hosted Discourse instance (v2026.12.0-latest +140), encountering the error "You can't log in as ... from that IP address." The affected users are neither blocked nor suspended, and their addresses are not listed in "screened addresses."

[olivia](/t/-/418608/2) suggests that this error typically indicates the login request's IP address is blocked, which can happen if the users' IPs fall within a blocked range or if Discourse is receiving the reverse proxy's IP instead of the client's actual IP. She asks if Cloudflare or another reverse proxy is in use. For Cloudflare users with a standard Docker installation, she recommends verifying that `templates/cloudflare.template.yml` is included in the `app.yml` configuration file. Additionally, she references a [similar issue reported on Meta](https://meta.discourse.org/t/responding-to-the-error-you-can-t-log-in-from-that-ip-address-but-ip-not-blocked/384355) for further context.

<div class="post-metadata">

**Author:** ![lukasjelinek](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lukasjelinek](https://meta.discourse.org/u/lukasjelinek)\
**Post date:** [November 30, 2026, 10:12am UTC](https://meta.discourse.org/t/you-cant-log-in-as-from-that-ip-address/418608/1 "2026-11-30T10:12:13Z")

</div>

A few users report that they can’t login to our Discourse. It fails with the following message:

> You can’t log in as … from that IP address

These users are neither blocked nor suspended. Their addresses are not in “screened addresses”.

Discourse version: v2026.12.0-latest +140

Can someone help, please?

---

<div class="post-metadata">

**Author:** ![olivia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olivia/32/324299_2.png) [@olivia](https://meta.discourse.org/u/olivia)\
**Post date:** [November 30, 2026, 10:50am UTC](https://meta.discourse.org/t/you-cant-log-in-as-from-that-ip-address/418608/2 "2026-11-30T10:50:44Z")

</div>

Are you using Cloudflare or another reverse proxy?

This error indicates that the IP address of the login request is blocked. The users’ IPs may fall within a blocked IP range, or Discourse may be seeing the proxy’s IP rather than their actual IPs.

If you’re using Cloudflare’s proxy with a standard Docker installation, check whether `templates/cloudflare.template.yml` is included in your `app.yml`.

We had a [similar issue reported here](https://meta.discourse.org/t/responding-to-the-error-you-can-t-log-in-from-that-ip-address-but-ip-not-blocked/384355).
