O
O
OneTwoThreeFourFive2022-01-08 21:12:43
linux
OneTwoThreeFourFive, 2022-01-08 21:12:43

Enable secure connection for websocket?

I opened port 8443 and use wss to connect in js to websocket. The connection is working. How to check that the connection is secure (like https)?

Is port 8443 as secure as 443 or does it require additional settings?
If not, how to open a port similar to 443 for websocket?
Is it possible to connect a websocket and a web server to the same port, and is it necessary to do so?
What port are you connecting the websocket (wss) to?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2022-01-08
@ky0

By itself, the port does not guarantee anything, as you set up a web server - it will be so. You can check, for example, using curl`a in verbose mode.
We do not use any separate ports for WS (because why?), Everything is on the standard 443, just a separate url like /app_ws.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question