everyone!
I'm in an issue.
I'm trying to connect in a server with my client application.
My server is hosting by Modulus that have no port to access URL.
When I try to call io('my-application.onmodulus.net')
, the browser (chrome) returns me a failed GET net::ERR_CONNECTION_REFUSED
with a PORT setted in GET URL.
I tested the URL without the PORT in the browse and works. There's a way to GET socket.io connect from then client without socket.io set a PORT in URL?
Here's my code:
I try of different ways to call this method, and I don't find OPTIONS parameter documentation.
var socket = io('my-application.onmodulus.net', {multiplex: false, path: '/socket.io'});
Thank you all so much!