title: Error React Proxy error: Could not proxy request
body: <p>Why do I got this error:</p>
  <blockquote>
  <p>Proxy error: Could not proxy request /api/v1/management/me from localhost:3000 to http://localhost:8080 (ECONNREFUSED).</p>
  </blockquote>
  <p>Got this axios setting:</p>
  <pre class="lang-js prettyprint-override"><code>axios.defaults.baseURL = &quot;http://localhost:3000/&quot;;
  </code></pre>
  <p>And set this in <code>package.json</code>:</p>
  <pre class="lang-js prettyprint-override"><code>&quot;proxy&quot;: &quot;http://localhost:8080&quot;
  </code></pre>
  <p>tried also:</p>
  <pre class="lang-js prettyprint-override"><code>&quot;proxy&quot;: &quot;http://localhost:8080/&quot;
  </code></pre>
  <p>And have following call:</p>
  <pre class="lang-js prettyprint-override"><code>axios({
    method: &quot;get&quot;,
    url: &quot;api/v1/management/me&quot;,
    data: {},
    headers: { crossDomain: true },
  })
  </code></pre>
  <p>When I call directly <code>http://localhost:8080/api/v1/management/me</code> I got response from server.</p>
  <p>I have following backend, Vapor route setting. Maybe something wrong / specific here?</p>
  <pre><code>let protectedAPIRouter = authSessionRouter.grouped(&quot;api/v1&quot;).grouped(User.guardAuthMiddleware())
  let managementAPIRouter = protectedAPIRouter.grouped(&quot;management&quot;)
  </code></pre>