#multiple gateways

1 messages ยท Page 1 of 1 (latest)

regal lantern
#

hi i currently have multiple gateways and am unable to properly setup it up on vps hetzner because it keeps connecting locally

spare kiteBOT
# regal lantern hi i currently have multiple gateways and am unable to properly setup it up on v...

This is a great question! Let me give you a focused answer.

Hey there! ๐Ÿฆ

When you say "keeps connecting locally" โ€” do you mean:

  1. The dashboard/Control UI is connecting to localhost instead of your VPS IP?
  2. A node (e.g., your Mac) is trying to connect to the wrong gateway?
  3. Something else?

Quick checklist for multiple gateways on a VPS:

  1. 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 } }
  1. Use profiles to keep them separate:

    CLAWDBOT_PROFILE=main clawdbot gateway start
    CLAWDBOT_PROFILE=secondary clawdbot gateway start
    
  2. Check what you're actually connecting to โ€” run on your VPS:

    clawdbot status
    clawdbot daemon status