0

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.

2
  • Your screenshot shows the HTTPS version of localhost is not secure. Did you actually configure a (self-signed) SSL certificate? Commented Feb 22, 2024 at 9:44
  • yes, self-signed SSL was installed. I have solved this issue using the nginx instead of Apache server. Commented May 3, 2024 at 7:23

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.