it runs at <http://localhost:4466/server/dev> by d...
# prisma-whats-new
e
it runs at http://localhost:4466/server/dev by default
p
And why is that line:
Copy code
server.start(() => console.log('Server is running on <http://localhost:4000'>))
in the end of the default index.js? The actual graphql server is running on 4000 or am I wrong?
e
you've got two servers that run, the database server and the application server
the playground runs at: http://localhost:3000/playground
p
Wait a sec, my current setup looks like this: I have my REACT application that runs on 3000 by default. It is completely separated from anything prisma-related. It only connects to 4000 via http using Apolloclient. I do have a playground, but only at: http://localhost:4466/app_name/dev And this playground does not support the resolvers, I wrote in the index.js of my prisma app. Of course not, because those are only accessible for my prisma app on 4000, if I understood it correctly.
e
I'm new to prisma, so maybe I'm wrong. But I wouldn't run react on port 3000 because that's where the playground runs by default
p
Anyone else, that could tell me, if this behaviour of my setup is correct?
h
well if you have react running on 3000 the playground can't