Prisma, MongoDB, Docker “request to http://localhost:4466/ failed, reason: connect ECONNREFUSED 127.0.0.1:4466”

prisma

#1

I’m currently trying to deploy a GraphQL service I built with Prisma, graphql-yoga, and MongoDB. I setup the Docker images and everything, but I have an issue with launching all the services in the right order so everything runs smoothly. I want the MongoDB server up first, then the Prisma server, and then the web app. I made a stackoverflow post about it, but haven’t gotten any helpful responses yet. I was wondering if anyone has suggestions. I have been stuck on this issue for a while and can’t move on without fixing it.

stackoverflow.com

Sriharsha Guduguntla

PRISMA, MONGODB, DOCKER “REQUEST TO HTTP://LOCALHOST:4466/ FAILED, REASON: CONNECT ECONNREFUSED 127.0.0.1:4466”

mongodb, docker, docker-compose, prisma

asked by Sriharsha Guduguntla on 05:15PM - 28 Jun 19 UTC

From what I understand and what others have been saying is that the Prisma server which usually runs on localhost on my local computer does not work with Docker because there’s an internal Docker IP that it should be connected to. However, I haven’t had any luck with finding solutions to the issue.


#2

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.