I am working on an angular application with socket.io. I have the same code base deployed to 2 different servers. Socket.io is hosted through Nginx. For the older version, I have a separate path e.g http://old-server-address.com for socket.io. and this is working fine.
For the new version, my socket application is running on http://new-server-address.com/socket-application. NodeJs application is running fine on the new URL. I have verified one endpoint and got a response from the server.
The issue is I am unable to connect with the new one. I have tried appending path param in socket.connect inside the angular application. Is there anything I am missing? thoughts