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.
Could it be the firewall? I don't think so. The firewall is ufw -- which reports:
Status: activeTo Action From-- ------ ----8734 ALLOW Anywhere 8734 (v6) ALLOW Anywhere (v6) I briefly tried sudo ufw disable, and the wscat works/fails behaviour was unchanged.
What might be going wrong?
How can I debug this?
Thank you for any help!