My NodeJS app is able to connect with my local Couchbase server when I run it locally, but when I deploy my app on Docker, Couchbase gives the “Connection refused” error. This is my
FROM node:carbon MAINTAINER API Builder WORKDIR /usr/src/profileinfo RUN npm install COPY . . EXPOSE 8443 CMD [ "npm", "start" ]
How do I fix this error?