Api calls using port 8080 gives curl: (7) Failed to connect to local port 8080 : connection refused.

Did netstat -a | grep 8080, which gives nothing

0 1 4,027
1 REPLY 1

Not applicable

This says there is nothing listening on port 8080. Please refer this link

https://serverfault.com/questions/725262/what-causes-the-connection-refused-message