Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6015

Websocket server - working for local connections but not remote?

$
0
0

I am running an embedded Jetty server on Ubuntu (22.04.3), listening to port 8734 (arbitrary number), and testing it with wscat.

The following command connects fine if run on the same machine:

wscat -c wss://myserver.com:8734/myservlet/

But fails to connect if I try to connect remotely (which is kind of the point of web-tech). It just hangs until timing out.

The server logs don't show anything.

The firewall is ufw -- which reports:

Status: activeTo                         Action      From--                         ------      ----8734                       ALLOW       Anywhere                  8734 (v6)                  ALLOW       Anywhere (v6)        

What might be going wrong?
How can I debug this?
Thank you for any help!


Viewing all articles
Browse latest Browse all 6015

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>