samples-server icon indicating copy to clipboard operation
samples-server copied to clipboard

Run webrtc-from-chat on hosting

Open borborich opened this issue 4 years ago • 0 comments

first of all i run it project on my local machine (macOS) it's work ass well, no problem.

But when i install on my web hosting from cPanel i create node.js app, upload project, install modules and run project as

node chatserver.js

terminall risponde Server is listening on port 35000 (yes i changed port on chatserver.js & chatclient.js because on my hosting port 6503 is closed)

but when i go to my site load index.html and try to create new user, in console i see this problem

Connecting to server: wss://mysite.com:35000
chatclient.js:111 WebSocket connection to 'wss://mysite.com:35000/' failed: 
connect @ chatclient.js:111
onclick @ (index):37
chatclient.js:119 Event

Logs is clean what i can control to resolve this?

borborich avatar Mar 17 '21 11:03 borborich