Next.js Discord

Discord Forum

Socket Server inside NextJS

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
For my study project i need a socket connection between the users. I always though you could run a socket server inside my nextJS project but I do have to run it sperately via node. With that I cannot host it in Vercel, but I have to host a seperate socket server or am I wrong?
What do you thinkh?
Thank you in advance 🙂

2 Replies

But yes if you're just using raw WS then you'll need to run the server yourself, on DigitalOcean or similar