-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhooks connection refused #621
Comments
Hey @alexandergavrailov! That Does it work when you |
I think the |
To reiterate with Tomer said, the issue here if the CLI having trouble sending a POST to your app's You can try running I'm closing this due to lack of activity for >5months. Please reopen if you have more questions! |
Hey. |
Same here |
I believe the issue is that for the hostname 'localhost', most software will now bind to the ipv6 address instead of the ipv4. So mapping 127.0.0.1 to localhost won't work. The fix is either to use 127.0.0.1 directly in your web servers and tell the stripe cli to listen for 127.0.0.1 or to use 'localhost' and tell the stripe cli to listen for Ex:
It's a weird situation for me because I assumed that localhost would work for both ipv6 and ipv4 automatically but I guess not... |
@cod1r It's pretty abysmal that Stripe hasn't addressed that tbh. |
I was getting EOF errors until I explicitly wrote |
I'm constantly getting a connection refused error when trying to receive webhooks.
The port is enabled through my firewall:
My webapp is running on Ubuntu 20.10
The text was updated successfully, but these errors were encountered: