In K8s, HOSTNAME is set to the pod name, so the server only listened on that interface. The PTY server's loopback fetch to 127.0.0.1 was connection-refused. Always bind to 0.0.0.0 so loopback works.
In K8s, HOSTNAME is set to the pod name, so the server only listened on that interface. The PTY server's loopback fetch to 127.0.0.1 was connection-refused. Always bind to 0.0.0.0 so loopback works.