如果您在使用 Azerothcore 时遇到了登录服务器时出现问题,可能是由于容器网络问题导致的。为了解决此问题,请尝试在运行容器时添加以下网络参数:
docker run -it -p 8085:80 --network="host" azerothcore/azerothcore-wotlk
此外,还需要确保在 config.sh 文件中正确设置了 GM 账户和密码:
# Set your server's root password
MYSQL_ROOT_PASSWORD="YOUR_ROOT_PASSWORD"
# Set the username and password to use when logging to the game
ADMIN_USER="gmaccount"
ADMIN_PASS="gmpassword"
完成这些步骤后,您应该可以成功登录到 Azerothcore 服务器。