<p>I am getting a error while loading my one of microservices in node nGnix server using Kubernates cluster.</p>

<p>Here is the error:</p>

<pre><code>110#110: *20 connect() failed (111: Connection refused) while connecting to upstream, client: 61.xxx.221.179, server: dev.XXXXX.in, request: "GET /api/ticket/getTicketDetails HTTP/1.1", upstream: "http://100.96.x.xxx:3001/api/ticket/getTicketDetails", host: "dev.XXXX.in"
</code></pre>

<p>Can someone please help me on this?</p>

Praveen sivadasan
<p>Please do,</p>
<blockquote>
<p>kubectl exec -it meta_data_name -- /bin/bash</p>
<p>curl <a href="http://100.96.x.xxx:3001/api/ticket/getTicketDetails" rel="nofollow noreferrer">http://100.96.x.xxx:3001/api/ticket/getTicketDetails</a></p>
</blockquote>
<p>Mostly, this will fail as the upstream might not be running or there is no connectivity to it.</p>
<p>Check for logs inside the nodeJs micro-service to find if it is termination on incoming requests due to some error.</p>
