openimsdk / openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
https://openim.io
Apache License 2.0
36 stars 46 forks source link

Bug: Cannot change openim ws port #68

Closed AndrewZuo01 closed 7 months ago

AndrewZuo01 commented 7 months ago

What happened?

cannot change openim ws port, add friend fail

What did you expect to happen?

can add friend

How can we reproduce it (as minimally and precisely as possible)?

change openim ws port from 10001 to 40001 in .env, docker compose down, make clean, docker compose up -d open port 11001 to access web front, register a user names asd, regsiter a user names dsa and add asd as friend, log in asd and cannot see dsa's friend request

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

cubxxw commented 7 months ago

@AndrewZuo01 Could you kindly provide additional details on the operational procedures? Your input will greatly enhance the clarity and comprehensiveness of the description.

AndrewZuo01 commented 7 months ago

already updated

cubxxw commented 7 months ago

The environment variables were modified, and these changes were made after the initial startup.