skip to Main Content

Node.js in Docker ECONNREFUSED

I'm trying to implement Oauth2 authentication (passport-oauth2) with Dex to my Node.js. If I'm running my API inside a docker container, I'm getting: Error: connect ECONNREFUSED 127.0.0.1:80. Outside a docker it works just fine! My API runs on port 3000…

VIEW QUESTION
Back To Top
Search