Open nwabdou85 opened 5 years ago
Hi, change ws://XX.XX.XXX.XXX:443/websocket to wss://XX.XX.XXX.XXX/websocket
for secure connections you need to supply wss as the protocol.
Let me know how you get on, good luck!
@vermiculite , Thanks a lot for your time;
I tried it but still does not work..
any other suggestion ??
Thank's
@nwabdou85 that is a shame. I would make sure you can connect to the server with this chrome extension. https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?utm_source=chrome-ntp-icon That way you can quickly figure out if you can connect.
@vermiculite with the chrome extension, it throws an undefined error; simple websocket client: undefined.
@vermiculite with the chrome extension, it throws an undefined error; simple websocket client: undefined.
Therefore it can't connect to the server. I assume you played with ws wss as protocols and with or without the port 443. If all those fails there is a problem connecting to the server.
If in a browser you go to http://XX.XX.XXX.XXX:443 http://XX.XX.XXX.XXX https://XX.XX.XXX.XXX:443 https://XX.XX.XXX.XXX
Can you see the application running?
what's your server env? as @vermiculite suggested, make sure your app is accessible through wss://
if you're serving the app with apache, it can be a bit tricky. try this if that's the case: https://www.codementor.io/foysalit/git-push-deploy-your-meteor-app-hsxs3hf20
Hy,
My app works perfectly in local but can't connect it to the remote server; So My connection string was: ws://XX.XX.XXX.XXX:443/websocket, the port is 433 as the server is an azure web app.
In the real advice , I use the ip of local machine as usual.
Can you help me please, I mis just this one before deploy my first app :)
Thank's