solution gateway high linux macos windows
Gateway won't start: 'refusing to bind ... without auth'
Fix gateway startup failures when binding to LAN/tailnet without token/password auth configured.
By CoClaw Team •
Error signatures: refusing to bind gateway | without auth | OPENCLAW_GATEWAY_TOKEN | OPENCLAW_GATEWAY_PASSWORD
Symptoms
- Gateway immediately exits and logs show:
refusing to bind gateway to <host>:18789 without auth (...)
openclaw gateway statusshows the service restarting/crashing.
Cause
When the gateway binds to a non-loopback interface (LAN/tailnet/custom), OpenClaw requires auth to be configured before it listens on that network path. Treat the exact token/password config shape as version-specific and confirm it against the current gateway auth/configuration guide for your installed version.
Fix
1) Set gateway auth through the current config guide
Use token or password auth as documented for your installed version:
- /guides/openclaw-configuration
- OpenClaw gateway authentication docs linked above
Then restart the gateway. Do not disable auth or expose a naked LAN/tailnet dashboard just to make the bind succeed.
2) Or bind only to loopback (local-only)
If you do not need LAN access, bind to loopback (127.0.0.1) and use SSH tunnel / local access.
Verify
openclaw gateway statusshows running.- Use
openclaw dashboardfor a fresh tokenized browser entrypoint when auth is required. - The Control UI stays connected on the intended loopback/tunnel/LAN route.