I do have a firewall running, it allows connections to port 50002, which I had set up for SSL access within the LAN.
Disabling the firewall doesn't help.
But in any case I can't even connect to 127.0.0.1:50001 on the same PC, where the firewall is irrelevant.
`sudo netstat -tunlp` returns the line:
tcp 0 0 127.0.0.1:50001 0.0.0.0:* LISTEN 45274/electrs
Looks as if your wallet is listening on a different port.
In case you don't know if the port is open.