Error : ECONNRESET

I am trying to call api through service call. I get ECONNRESET.
This is the output:
{
“cause”: {
“code”: “ECONNRESET”
},
“isOperational”: true,
“code”: “ECONNRESET”
}
I am able to access the same API through web browser without any hiccups
I passed the IP address along with the port number .Still could not get it to work
Please help

@pathakgandharv Would you able to provide us with the cURL here?
At least the service endpoint you been calling should be good enough for us to kick start our troubleshooting.