#12599: Fix gateway bind
stale
Cluster:
Gateway and Session Fixes
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a `start:zeabur` npm script intended for Zeabur deployments to run the gateway with an explicit bind mode (`--bind lan`) and a platform-provided port (`--port $PORT`), while skipping channel initialization via environment variables.
Change is localized to `package.json` scripts and aligns with the existing `gateway:dev*` scripts that also set `OPENCLAW_SKIP_CHANNELS` / `CLAWDBOT_SKIP_CHANNELS`.
<h3>Confidence Score: 4/5</h3>
- This PR is likely safe to merge, with minor deployment-script portability concerns.
- The change is a single added npm script; it doesn’t affect runtime code paths unless explicitly used. The main risk is the script’s use of `$PORT` without a default, which can fail on platforms that don’t set it or in Windows shells, but that’s limited to this opt-in script.
- package.json
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#6512: Claude/setup open claw agent f v sqk
by franelcisco · 2026-02-01
78.8%
#8745: fix(gateway): respect gateway.port config and --port CLI flag
by revenuestack · 2026-02-04
75.9%
#14564: fix(gateway): crashes on startup when tailscale meets non-loopback ...
by yinghaosang · 2026-02-12
75.8%
#6638: fix: make Dockerfile work on container platforms (Render, Railway, ...
by kaizen403 · 2026-02-01
75.7%
#11455: fix(gateway): default gateway.mode to local when unset
by AnonO6 · 2026-02-07
75.5%
#19437: Gateway: respect custom bind host for local health/RPC target resol...
by frudas24 · 2026-02-17
75.4%
#10024: Add Render blueprint for OpenClaw
by nima779 · 2026-02-06
75.0%
#21784: fix(security): restrict gateway ports to loopback by default
by smilekyra · 2026-02-20
74.9%
#6466: fix(gateway): add handshake timeout and connection error handling
by jarvis-raven · 2026-02-01
74.6%
#8876: Confirmaciones para equipo de IT
by m4xjunior · 2026-02-04
74.6%