Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

i can't access through lan

Open Arif-salah opened this issue 1 year ago • 2 comments

i can't access through lan

Arif-salah avatar Jul 08 '25 11:07 Arif-salah

When the server is bound to 127.0.0.1 or localhost, it will only accept connections from the machine it's running on. To allow access from other devices on your LAN, you need to tell it to listen on all available network interfaces. The server.py code reads this setting from the config.yaml file. You can fix this by editing that file:

Open config.yaml in the root directory Find the server section and change the host value to "0.0.0.0"

It should look like this: server: host: "0.0.0.0" port: 8004

After you save the file, restart the server. You will then be able to access the interface from other devices on your network by navigating to the server's local IP address, for example, http://192.168.1.55:8004

devnen avatar Jul 09 '25 22:07 devnen

Closing, this was answered in-thread: set host: 0.0.0.0 in config.yaml so the server listens on all interfaces, not just localhost. Please reopen if it still won't accept LAN connections after that change.

devnen avatar May 26 '26 20:05 devnen