[error] 19#19: *9 connect() failed (111: Connection refused) while connecting to upstream

We trying set a communication from our Front end container (nginx pod) to backend container service and getting below error .

nginx Node port service → nginx pod (UI)–> Backend Cluster IP service -->Back end Pod (rest service)

[error] 19#19: *9 connect() failed (111: Connection refused) while connecting to upstream

Unable to troubleshoot this issue, any idea on the root cause ?

nginx conf --------

upstream back-service{
server back-service:8443;
}
server {
listen 80;
location /api {
proxy_pass http://back-service;
}
}

Hi Guys ,
Can you please help me here ,

Hi @akram,

Can you please provide us more info about your configuration files?
You can check the following link about how to connect a Front End to a Back End.