nodejs and react diferent ports for socket.io?

前端 未结 0 1728
难免孤独
难免孤独 2020-12-03 04:14

I have my project in react launched on port 3000 and a nodejs server on port 8080

How do I connect the server sockets with the client if they are on different ports?<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题