claude-code-webui icon indicating copy to clipboard operation
claude-code-webui copied to clipboard

[Bug]: `--host` argument isn't working

Open 343max opened this issue 9 months ago • 2 comments

Issue Type

  • [x] 🐛 bug - Bug fix (non-breaking change which fixes an issue)
  • [x] 🖥️ backend - Backend-related issue
  • [ ] 🎨 frontend - Frontend-related issue

Component

Backend (Server/API)

Bug Description

According to the documentation --host is supposed to make it possible to change the host the app is listening on. This doesn't work. According to the CLI the default is supposed to be 127.0.0.1 which also isn't true, it's 0.0.0.0. This makes it impossible for me to give it only access from localhost.

Steps to Reproduce

❯ npx @siteboon/claude-code-ui --host 127.0.0.1

❌ Unknown command: 127.0.0.1
   Run "cloudcli help" for usage information.

Expected Behavior

work as described in the documentation.

Actual Behavior

see repro

Operating System

macOS (Apple Silicon)

Installation Method

Other (please specify in additional context)

Node.js Version

No response

Deno Version (if applicable)

No response

Claude CLI Version

2.1.38

Claude CLI Installation Path

No response

Browser (for frontend issues)

No response

Console Logs/Error Messages


Configuration


Additional Context

No response

Checklist

  • [x] I have searched existing issues to make sure this is not a duplicate
  • [x] I have provided all the required information above
  • [x] I have removed any sensitive information from logs and configuration

343max avatar Feb 10 '26 16:02 343max

@343max Are you talking about @siteboon/claude-code-ui?

If so, you posted the issue in a different repository. The correct one is https://github.com/siteboon/claudecodeui.

If you are trying to the tool in the repository, try this command:

npx claude-code-webui --host 127.0.0.1

FujiHaruka avatar Feb 14 '26 07:02 FujiHaruka

Oh your are absolutely right, sorry for this and thank you for pointing it out to me.

343max avatar Feb 15 '26 12:02 343max