I am developing a private chat application. My Server side code(NodeJs + Express + Socket.io) is running on port 7000. And my client side code(AngularJs) is running on port 8000.
When I am trying to connect my socket client(running in port 8000) to socket server(which is running on port 7000), I am getting 404, which is obvious.
I have following questions related to this:-
Thanks, Vikram
答案 0 :(得分:0)
找到了解决方案。
而不是在HTML中包含socket.io: -
您也可以将其包含在
中