# Connection Refused only on Signup

**URL:** <https://community.auth0.com/t/connection-refused-only-on-signup/93183>\
**Category:** Get Help\
**Tags:** signup, auth0\
**Created:** [October 26, 2022, 9:51pm UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183 "2022-10-26T21:51:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlshippit](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/carlshippit/32/34337_2.png) [@carlshippit](https://community.auth0.com/u/carlshippit)\
**Post date:** [October 26, 2022, 9:51pm UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/1 "2022-10-26T21:51:03Z")

</div>

Hi Auth0 Community,

I’ve been having trouble with “Signup” using “Database Connection”. I keep getting an “ECONNREFUSED” error but ONLY for signup and it doesn’t even hit my application so there were no logs.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/9/195eb70cff77a7024676e4e5663085e79bc88ac6.png)

Login works fine. Other testing I’ve tried is on the `Database Action Scripts`, I have tried using the “create” URL in my LOGIN script and surprisingly it works!! So I think the issue might be on auth0’s side

My setup is all in local. I have a `login` and `signup` endpoint in my application and exposed these using `ngrok`. The `Database Action Scripts` I wrote is just simply calling these endpoints. Emphasizing again that `Login` works but not `Signup`.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 28, 2022, 12:19am UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/4 "2022-10-28T00:19:15Z")

</div>

Hi @carlshippit ,

The error indicates that the connection was refused by your server when trying to look up existing users during signup.

Could you please whitelist the Auth0 IP addresses for inbound connections? You can find the list of IPs by navigating to Auth0 dashboard \> Connections \> Database \> click on your connection name \> Custom Database tab \> scroll down to see a list of IPs.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![carlshippit](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/carlshippit/32/34337_2.png) [@carlshippit](https://community.auth0.com/u/carlshippit)\
**Post date:** [October 28, 2022, 12:59am UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/5 "2022-10-28T00:59:13Z")

</div>

Thanks @lihua.zhang for the reply. I will try that out but you mind checking on your end as well? The reason I’ve asked is because this only occurs when I’m testing the `Signup` but the `Signin` works nicely. I presume that both of these requests should be on the same `IP` right? So why do they behave differently?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 28, 2022, 2:26am UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/6 "2022-10-28T02:26:05Z")

</div>

Hi @carlshippit ,

I don’t have access to the backend logs. To check the backend details, we will need to open a support ticket. Do you need my help to create a ticket on your behalf?

Thanks!

---

<div class="post-metadata">

**Author:** ![carlshippit](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/carlshippit/32/34337_2.png) [@carlshippit](https://community.auth0.com/u/carlshippit)\
**Post date:** [November 3, 2022, 9:24pm UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/7 "2022-11-03T21:24:14Z")

</div>

Hi @lihua.zhang

I’m sorry that my reply came in a little late. Can you help me how to open a support ticket please?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 20, 2024, 9:13pm UTC](https://community.auth0.com/t/connection-refused-only-on-signup/93183/8 "2024-11-20T21:13:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
