config not honoring WS port #11

Closed
opened 2026-02-16 12:51:02 -05:00 by yindo · 3 comments
Owner

Originally created by @roachadam on GitHub (Dec 4, 2021).

Description:
Changing the port for the websocket in .env file does not honor the new port.
Changing WS port to 9001 does not start the websocket on port 9001, but instead 9000.

Specs:
Centos 7 64bit

Pics:
Revolt attempts to request WS at correct addr/por
image

Originally created by @roachadam on GitHub (Dec 4, 2021). **Description**: Changing the port for the websocket in .env file does not honor the new port. Changing WS port to 9001 does not start the websocket on port 9001, but instead 9000. **Specs**: Centos 7 64bit **Pics**: Revolt attempts to request WS at correct addr/por ![image](https://user-images.githubusercontent.com/30098945/144734276-c4cb4e60-a079-42aa-9e9f-8c990a31f644.png)
yindo closed this issue 2026-02-16 12:51:02 -05:00
Author
Owner

@Zomatree commented on GitHub (Dec 5, 2021):

Changing the environment variables will change the websocket host, make sure its using the most up to date version of the env file.

@Zomatree commented on GitHub (Dec 5, 2021): Changing the environment variables will change the websocket host, make sure its using the most up to date version of the env file.
Author
Owner

@roachadam commented on GitHub (Dec 5, 2021):

It should have been. I edited the env back to port 9000 and it is working fine. Changing back to 9001 after restarting docker produces the same error.

@roachadam commented on GitHub (Dec 5, 2021): It should have been. I edited the env back to port 9000 and it is working fine. Changing back to 9001 after restarting docker produces the same error.
Author
Owner

@insertish commented on GitHub (Jan 5, 2022):

You have to change the port in docker-compose.yml as well. (be sure to also run docker-compose up -d after doing this)
The .env file is solely used by the API server to tell the client where it needs to connect.

@insertish commented on GitHub (Jan 5, 2022): You have to change the port in `docker-compose.yml` as well. (be sure to also run `docker-compose up -d` after doing this) The `.env` file is solely used by the API server to tell the client where it needs to connect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#11