Websocket Connection on localhost

32 Views Asked by At

im trying to create the WebSocket connection on localhost. but it is not working. when I'm connecting it on HTTP connection and use ws then it is working properly.

URL http://192.168.18.101/ enter image description here

enter image description here

but when im using HTTPS and WSS it is not create the WebSocket connection

https://192.168.18.101/ enter image description here

i have also assigned the self-assigned SSL cert.

I'm using apache2 on Ubuntu 18.04. actually, i want to deploy my project on Premises server.

this vhost configration for http

on my local server on http request ws websocket is working. but when im try to https usign wss it is not connecting.

0

There are 0 best solutions below