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!