-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Version
latest
Issue Type
- Agent TARS CLI (
@agent-tars/server)
Model Provider
- Other (N/A)
Problem Description
- Expected: Should be able to run multiple Agent instances simultaneously
- Actual: Second instance fails with port conflict error
Error Logs
Error: listen EADDRINUSE: address already in use :::8889
at Server.setupListenHandle [as _listen2] (node:net:1939:16)
at listenInCluster (node:net:1996:12)
at Server.listen (node:net:2101:7)
at /Users/chenhaoli/workspace/code/UI-TARS-desktop-5/multimodal/tarko/agent-server/dist/index.js:18313:33
at new Promise (<anonymous>)
at AgentServer.start (/Users/chenhaoli/workspace/code/UI-TARS-desktop-5/multimodal/tarko/agent-server/dist/index.js:18312:24)
at async startInteractiveWebUI (/Users/chenhaoli/workspace/code/UI-TARS-desktop-5/multimodal/tarko/agent-cli/dist/index.js:8861:32)
at async CAC.<anonymous> (/Users/chenhaoli/workspace/code/UI-TARS-desktop-5/multimodal/tarko/agent-cli/dist/index.js:9780:25)
All related files set default port to 8888:
multimodal/tarko/agent-cli/src/config/builder.tsmultimodal/tarko/agent-cli/src/core/commands/start.tsmultimodal/tarko/agent-cli/src/core/commands/serve.ts
Need support for automatic port allocation or dynamic port configuration.
Reactions are currently unavailable