联网
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
联网 [2023/09/23 20:06] – 创建 admin | 联网 [2023/09/23 20:18] (当前版本) – [Setting the auth database realmlist for internet connections] admin | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ===== 联网 ===== | + | ====== 联网 |
---- | ---- | ||
|安装指南| | | |安装指南| | | ||
|本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | ||
|[[数据库安装|<< | |[[数据库安装|<< | ||
+ | |||
+ | This guide is intended for advanced setups or just to provide more details in setting up your realm for local or internet use. In general, the default setup explained in your particular OS-specific guide should be fine for simple setups. | ||
+ | |||
+ | ===== Worldserver and Authserver configurations ===== | ||
+ | |||
+ | For almost all basic setup scenarios the default localhost (127.0.0.1) IP settings should be left alone. The default bindip (0.0.0.0) should be left alone as well. | ||
+ | |||
+ | ==== Setting the auth database realmlist for internet connections ==== | ||
+ | |||
+ | This is where you have to use your internet IP so clients from the internet can find your server. You have to have the ports 3724 (authserver) and 8085 (worldserver) forwarded or open from your router/ | ||
+ | |||
+ | === Realmlist Table === | ||
+ | |||
+ | |||
+ | You need to make sure that your authserver application directs incoming connections to your realm. | ||
+ | |||
+ | * Run your chosen database management tool (ex. SQLYog or HeidiSQL) or with the MySQL command-line interface (CLI). | ||
+ | * If you need to connect to your database from one external machine, read https:// | ||
+ | * Open the acore_auth database and find the realmlist table. You need to edit the address field according to your needs: | ||
+ | * LAN IP (192.168.x.x) - If you are installing AzerothCore on a different computer from where you run WoW, but all the computers involved are on the same network (router) use that computer' | ||
+ | * 127.0.0.1 - Also known as " | ||
+ | * Public IP address – If you want other people to connect to your server, use your external IP. Visit http:// | ||
+ | * If you're hosting it from a home network you'll likely need to set up the proper port forwards, which isn't covered within the scope of this guide. https:// | ||
+ | * Fully qualified domain name - (mydomain.com or warcraft.mydomain.com) Similar to an external IP address, this would be used if you want other people to connect to your server with the added benefit of not needing to track a potentially dynamic IP address. | ||
+ | * Similar to the Public IP address, it's likely that you'll need to set up port forwards if you're hosting from a home network. | ||
+ | * Additionally, | ||
+ | * MySQL CLI Commands (This step is not needed if you used a MySQL Manager like HeidiSQL) | ||
+ | * $ sudo mysql | ||
+ | * You should see a prompt change to mysql> | ||
+ | * use acore_auth; | ||
+ | * Replace your IP with the one you've chosen to use from above | ||
+ | * UPDATE realmlist SET address = ' | ||
+ | * exit |
联网.1695470785.txt.gz · 最后更改: 2023/09/23 20:06 由 admin