<!-- Thanks for your interest in Leon! ❤️ Please check if there is no similar issue before creating this one. If the bug is related to the setup, please submit the issue at: https://github.com/leon-ai/leon-cli/issues/new/choose --> ### Failed to connect to the TCP server The Terminal Problem : 🚨 Failed to connect to the TCP server ℹ️ Trying to connect to the TCP server... ### Solution: Is from one of the issues and after reading the main and analyzing the @louistiti explication and I replay from @zh-impact. ## Here's the process Step-by-Step: ``` Go to Path: User\name\leon\.env Change port code of : LEON_PY_TCP_SERVER_PORT to 31337 Run : leon start --port 31337 ```