Is there an existing issue for the same bug?
Bug Description
Running openhands serve starts the webui in a docker container bound to 0.0.0.0. If this is done on an internet-facing device, openhands is exposed to the internet.
Expected Behavior
It binds to localhost by default.
Actual Behavior
It binds to 0.0.0.0
Steps to Reproduce
- Run
openhands serve
- Visit :3000 from another host
OpenHands CLI Installation Method
CLI (uv tool install)
If you selected "Other", please specify
No response
OpenHands CLI Version
OpenHands CLI 1.15.0
Version Confirmation
Model Name
No response
Operating System
Linux
Terminal / Shell
No response
Logs and Error Messages
No response
Screenshots and Additional Context
No response
Is there an existing issue for the same bug?
Bug Description
Running
openhands servestarts the webui in a docker container bound to 0.0.0.0. If this is done on an internet-facing device, openhands is exposed to the internet.Expected Behavior
It binds to localhost by default.
Actual Behavior
It binds to 0.0.0.0
Steps to Reproduce
openhands serveOpenHands CLI Installation Method
CLI (uv tool install)
If you selected "Other", please specify
No response
OpenHands CLI Version
OpenHands CLI 1.15.0
Version Confirmation
Model Name
No response
Operating System
Linux
Terminal / Shell
No response
Logs and Error Messages
No response
Screenshots and Additional Context
No response