I'm learning about webrtc and followed the instructions here: https://www.tutorialspoint.com/webrtc/webrtc_rtcpeerconnection_apis.htm
I'm using tomcat v8.0 for deploying my web application, I got following error in Console Window :
WebSocket connection to 'ws://localhost:8080/Connection' failed: Error during WebSocket handshake: Unexpected response code: 302
My webapplication works fine, if I use http://localhost:8080/Connection/
link in url locator. If I use ws://localhost:8080/Connection in url locator, Im getting:
This site can’t be reached
I cannot figure out why I am getting 302. Can anyone help me to resolve this?