#multiple gateways
1 messages ยท Page 1 of 1 (latest)
This is a great question! Let me give you a focused answer.
Hey there! ๐ฆ
When you say "keeps connecting locally" โ do you mean:
- The dashboard/Control UI is connecting to
localhostinstead of your VPS IP? - A node (e.g., your Mac) is trying to connect to the wrong gateway?
- Something else?
Quick checklist for multiple gateways on a VPS:
- Each gateway needs its own port โ they can't both use 18789
// Gateway A: ~/.clawdbot/clawdbot.json { gateway: { port: 18789 } }
// Gateway B: ~/.clawdbot-b/clawdbot.json
{ gateway: { port: 18790 } }
-
Use profiles to keep them separate:
CLAWDBOT_PROFILE=main clawdbot gateway start CLAWDBOT_PROFILE=secondary clawdbot gateway start -
Check what you're actually connecting to โ run on your VPS:
clawdbot status clawdbot daemon status