Hey, I am unable to access the local prisma endpoi...
# prisma-whats-new
h
Hey, I am unable to access the local prisma endpoint on an open airport WiFi
Copy code
[Network error]: FetchError: request to <http://localhost:4466/prisma/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
Error: request to <http://localhost:4466/prisma/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
    at Object.checkResultAndHandleErrors (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/errors.js:73:34)
    at Object.<anonymous> (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:89:52)
    at step (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:40:23)
    at Object.next (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:21:53)
    at fulfilled (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:12:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
a
That is an indicator that the Prisma service is not running. How do you start your application? In the local cluster?
h
Yes
a
What does
docker ps
gives you?
h
It works on my home network
Copy code
bojan@linux:~/www/dental/prisma/server$ docker ps
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                    NAMES
cff6d6f29bb0        prismagraphql/prisma:1.1   "/app/bin/single-ser…"   55 seconds ago      Up 54 seconds       0.0.0.0:4466->4466/tcp   local_prisma-database_1
0f3c185b7587        mysql:5.7                  "docker-entrypoint.s…"   19 hours ago        Up 56 seconds       0.0.0.0:3307->3306/tcp   prisma-db
a
That looks good. Can you post your
.graphqlconfig
and the
database/prisma.yml
please?
h
hmm wait it looks like it started working again
hmm ...
maybe my computer got restarted and I needed to start it again
a
👍
h
thanks for quick help, really appreciate it
😉
a
Your’re welcome 🙂
Glad that it works for you now 🙂