<p>I am trying to run Ambassador API gateway on my local dev environment so I would simulate what I'll end up with on production - the difference is that on prod my solution will be running in Kubernetes. To do so, I'm installing Ambassador into Docker Desktop and adding the required configuration to route requests to my microservices. Unfortunately, it did not work for me and I'm getting the error below:</p>
<p><code>upstream connect error or disconnect/reset before headers. reset reason: connection failure</code></p>
<p>I assume that's due to an issue in the mapping file, which is as follows:</p>
<pre><code>apiVersion: ambassador/v2
kind:  Mapping
name:  institutions_mapping
prefix: /ins/
service: localhost:44332
</code></pre>
<p>So what I'm basically trying to do is rewrite all requests coming to <code>http://{ambassador_url}/ins</code> to a service running locally in IIS Express (through Visual Studio) on port <code>44332</code>.</p>
<p>What am I missing?</p>

<p>I think you may be better off using another one of Ambassador Labs tools called Telepresence.</p>
<p><a href="https://www.telepresence.io/" rel="nofollow noreferrer">https://www.telepresence.io/</a></p>
<p>With Telepresence you can take your local service you have running on localhost and project it into your cluster to see how it performs. This way you don't need to spin up a local cluster, and can get real time feedback on how your service operates with other services in the cluster.</p>
