title: Connection refused error when using Stripe webhooks
body: <p>I'm constantly getting a connection refused error when trying to receive webhooks.</p>
  <pre><code>(venv) alexa@main:/etc/nginx/sites-available$ stripe listen --forward-to localhost:5000/webhook/
  go package net: built with netgo build tag; using Go's DNS resolver
  &gt; Ready! Your webhook signing secret is whsec_************************* (^C to quit)
  2021-04-05 18:13:03   --&gt; customer.subscription.updated [evt_1Icwv5HrsuAsSZROjKy4Z5CK]
  2021-04-05 18:13:03            [ERROR] Failed to POST: Post &quot;http://localhost:5000/webhook/&quot;: dial tcp 127.0.0.1:5000: connect: connection refused)
  </code></pre>
  <p>The port is enabled through my firewall:</p>
  <pre><code>To                         Action      From
  --                         ------      ----
  5000                       ALLOW       Anywhere
  5000/tcp                   ALLOW       Anywhere
  22/tcp                     ALLOW       Anywhere
  80/tcp                     ALLOW       Anywhere
  443/tcp                    ALLOW       Anywhere
  5555                       ALLOW       Anywhere
  5000 (v6)                  ALLOW       Anywhere (v6)
  5000/tcp (v6)              ALLOW       Anywhere (v6)
  22/tcp (v6)                ALLOW       Anywhere (v6)
  80/tcp (v6)                ALLOW       Anywhere (v6)
  443/tcp (v6)               ALLOW       Anywhere (v6)
  5555 (v6)                  ALLOW       Anywhere (v6)
  </code></pre>
  <p>My webapp is running on Ubuntu 20.10</p>
  <p>After running <code>curl -v -X POST http://localhost:5000/webhook/</code> as suggested by Justin Michael in the comments I got the following :</p>
  <pre><code>*   Trying 127.0.0.1:5000...
  * TCP_NODELAY set
  * connect to 127.0.0.1 port 5000 failed: Connection refused
  * Failed to connect to localhost port 5000: Connection refused
  * Closing connection 0
  curl: (7) Failed to connect to localhost port 5000: Connection refused
  </code></pre>