I am trying to integrate Socket.io with Angular and I\'m having difficulties making a connection from the client-side to the server. I\'ve looked through other related quest
Using Apollo Server 2.
Per https://github.com/apollographql/apollo-client/issues/4778#issuecomment-509638071, this solved my problem:
try 'ws://localhost:4000/graphql'
...since incoming and outgoing requests now use the same address.