# Registration Limit from IP Address

**URL:** <https://meta.discourse.org/t/registration-limit-from-ip-address/33969>\
**Category:** Product Support\
**Created:** [September 30, 2015, 7:56pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969 "2015-09-30T19:56:01Z")\
**Posts on this page:** 20\
**Page:** 1

## AI-generated summary

Users are experiencing a registration limit error from their IP address on a Discourse forum, particularly affecting those on a company intranet sharing the same IP. The issue is caused by a setting in the admin panel under 'spam' settings, specifically 'max new accounts per registration IP', which can be adjusted to allow more registrations. Some users have successfully resolved the issue by increasing this limit or unblocking their IP. For those using Cloudflare, the solution involves adding the `cloudflare.template.yml` to the `app.yml` file and rebuilding the instance. However, some users continue to face the problem despite these steps, indicating potential issues with proxy configurations or other settings. [pnewelljr](/t/-/33969/1) first reported the issue, and [lisajill](/t/-/33969/7) provided the location of the setting. [Stephen](/t/-/33969/17) and [absi](/t/-/33969/18) discussed the Cloudflare solution, while [Martin_Delille](/t/-/33969/13) confirmed that unblocking the IP resolved the issue for him. [Farhan](/t/-/33969/23) and [Jaskaran](/t/-/33969/26) are still troubleshooting.

<div class="post-metadata">

**Author:** ![pnewelljr](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@pnewelljr](https://meta.discourse.org/u/pnewelljr)\
**Post date:** [September 30, 2015, 7:56pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/1 "2015-09-30T19:56:01Z")

</div>

My users are getting the following when they try to signup:

“New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.”

I didn’t set a limit that I know of, so not sure why this is happening. We are all at the same three IP address because the forum is for a company intranet.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [September 30, 2015, 7:59pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/2 "2015-09-30T19:59:04Z")

</div>

Either relax the limit in site settings or make sure there is at least one staff member from each IP.

---

<div class="post-metadata">

**Author:** ![pnewelljr](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@pnewelljr](https://meta.discourse.org/u/pnewelljr)\
**Post date:** [September 30, 2015, 8:04pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/3 "2015-09-30T20:04:25Z")

</div>

What is that setting called though? I can’t find it.

---

<div class="post-metadata">

**Author:** ![lisajill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lisajill/32/32289_2.png) [@lisajill](https://meta.discourse.org/u/lisajill)\
**Post date:** [September 30, 2015, 8:06pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/7 "2015-09-30T20:06:56Z")

</div>

Go to Settings and search for ‘registration’ - have a look for “max new accounts per registration ip”

It’s in the ‘spam’ menu item in Admin \> Settings.

---

<div class="post-metadata">

**Author:** ![pnewelljr](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@pnewelljr](https://meta.discourse.org/u/pnewelljr)\
**Post date:** [September 30, 2015, 8:06pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/8 "2015-09-30T20:06:57Z")

</div>

If I make it 0 will it be unlimited?

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [September 30, 2015, 8:25pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/9 "2015-09-30T20:25:48Z")

</div>

Not sure - make it six nines to be safe (don’t go too high or it might overflow)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [September 30, 2015, 10:20pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/10 "2015-09-30T22:20:46Z")

</div>

We protect against overflows in settings because this has happened many times before.

---

<div class="post-metadata">

**Author:** ![Martin\_Delille](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin_delille/32/122252_2.png) [@Martin\_Delille](https://meta.discourse.org/u/Martin_Delille)\
**Post date:** [January 12, 2019, 4:10pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/13 "2019-01-12T16:10:19Z")

</div>

I changed the option to 100 and I still have the issue. Does it take some time to be taken into account?

---

<div class="post-metadata">

**Author:** ![Martin\_Delille](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin_delille/32/122252_2.png) [@Martin\_Delille](https://meta.discourse.org/u/Martin_Delille)\
**Post date:** [January 13, 2019, 3:48pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/14 "2019-01-13T15:48:11Z")

</div>

Ok sorry my IP was blocked. I authorized it and it’s now working.

---

<div class="post-metadata">

**Author:** ![neerajsingh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neerajsingh/32/165330_2.png) [@neerajsingh](https://meta.discourse.org/u/neerajsingh)\
**Post date:** [March 26, 2020, 5:21am UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/15 "2020-03-26T05:21:48Z")

</div>

> [@lisajill](#):
>
> max new accounts per registration i

thankq this replay is good for me 😀

---

<div class="post-metadata">

**Author:** ![evankoh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evankoh/32/111223_2.png) [@evankoh](https://meta.discourse.org/u/evankoh)\
**Post date:** [July 18, 2020, 11:35pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/16 "2020-07-18T23:35:44Z")

</div>

Hi Jeff,

I relaxed the settings and also restarted the instance but still facing this error

> “errors”:{“ip\_address”:[“New registrations are not allowed from your IP address.”]}

Anything else I can try? Or do to debug better?

Thanks,  
Evan

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [July 20, 2020, 1:17am UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/17 "2020-07-20T01:17:22Z")

</div>

Are you using a reverse proxy on your server, or Cloudflare?

---

<div class="post-metadata">

**Author:** ![absi](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@absi](https://meta.discourse.org/u/absi)\
**Post date:** [August 18, 2020, 9:35pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/18 "2020-08-18T21:35:12Z")

</div>

I use cloudlfare and get this problem.

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [August 18, 2020, 9:35pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/19 "2020-08-18T21:35:57Z")

</div>

Add the Cloudflare template to your app.yml and rebuild.

---

<div class="post-metadata">

**Author:** ![absi](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@absi](https://meta.discourse.org/u/absi)\
**Post date:** [August 18, 2020, 9:49pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/20 "2020-08-18T21:49:09Z")

</div>

> [@Stephen](#):
>
> Cloudflare template

Sorry what is the cloudflare template?

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [August 18, 2020, 9:50pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/21 "2020-08-18T21:50:58Z")

</div>

ssh into your server and edit the app.yml file to add this to the templates block:

```
- "templates/cloudflare.template.yml"

```

make sure it’s aligned with the other templates in that block. The YML file is very sensitive to any indentation errors. There need to be two spaces before the `-`

Then save and rebuild.

---

<div class="post-metadata">

**Author:** ![a\_lee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/a_lee/32/134326_2.png) [@a\_lee](https://meta.discourse.org/u/a_lee)\
**Post date:** [January 5, 2022, 8:01pm UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/22 "2022-01-05T20:01:31Z")

</div>

Thanks for this! Our site is behind cloudflare - I tried adding `templates/cloudflare.template.yml` to our app.yml but am still running into the same error message. Is the `cloudflare` template mutually exclusive with the `web.ratelimited` template?

---

<div class="post-metadata">

**Author:** ![Farhan](https://avatars.discourse-cdn.com/v4/letter/f/b2d939/32.png) [@Farhan](https://meta.discourse.org/u/Farhan)\
**Post date:** [August 24, 2023, 11:07am UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/23 "2023-08-24T11:07:35Z")

</div>

It is still happening. I am using discourse APIs.

 ![MicrosoftTeams-image](https://global.discourse-cdn.com/meta/original/4X/6/b/3/6b3366d9d6033743d04098a6eabc5c02f747f160.png)

---

<div class="post-metadata">

**Author:** ![Jolithune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jolithune/32/322368_2.png) [@Jolithune](https://meta.discourse.org/u/Jolithune)\
**Post date:** [August 24, 2023, 11:14am UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/24 "2023-08-24T11:14:36Z")

</div>

> [@pnewelljr](#):
>
> “New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.”

Is it fix now ?

---

<div class="post-metadata">

**Author:** ![Farhan](https://avatars.discourse-cdn.com/v4/letter/f/b2d939/32.png) [@Farhan](https://meta.discourse.org/u/Farhan)\
**Post date:** [August 24, 2023, 11:32am UTC](https://meta.discourse.org/t/registration-limit-from-ip-address/33969/25 "2023-08-24T11:32:58Z")

</div>

not with me

[Next page](https://meta.discourse.org/t/registration-limit-from-ip-address/33969.md?page=2)
