9

The docs mention that you change the listener port for GraphQL subscriptions: https://docs.nestjs.com/graphql/subscriptions#customize-subscriptions-server

However the linked docs don't show any way to do this.

The problem is that I already have a WebSocket server running on say, port 3333. I want to have Apollo listen to subscriptions on port 4444 so they don't clash. Is there any way to do this?

AgentLiquid
  • 3,632
  • 7
  • 26
  • 30

0 Answers0