Hello, I have a public net IP, how to configure the file to allow other players to connect to my server?
I can't speak English, which is translated by my translation software.
public ip:118.24.49.XX
loacl ip:172.27.0.4
\server_bin\accountServer\cfg\shard_local.xml modify like that:<accountServer maxUsersOnShard="10" clientsLimit="10" build="builds/standard.xml" versionOnLogin="-1" ip="127.0.0.1">
<approve ip="127.0.0.1" port="9346"/>
<auth ip="172.27.0.4" port="9340" timeout="30000"/>
<api protocol="http" host="127.0.0.1" port="9356"/>
<db host="127.0.0.1" user="postgres" password="postgres" />
<authenticator>
<api host="172.27.0.4" port="9398"/>
go to :\server_bin\shard\cfg\shard.xml and search the following line
< shard role="LocalShard" memory="6144" ip="127.0.0.1">
<frontEnd ip="172.0.0.4" port="9322" timeout="60000"/>
<db database="allods_online_RC_4_0_02" host="127.0.0.1" user="root" password="root"/>
<http host="127.0.0.1" port="8080"/>
<xmpp port="5222" domain="allods.ru" certificate="keys/xmpp.p12" password="secret" />
<indicator/>
<doorway/>
</shard>
<itemMallServer>
<net ip="127.0.0.1" port="9321"/>
<assortment banners-config="banners.cfg"/>
</itemMallServer>
<billingServer>
<accounter accounterOneWay="billingserver.AccounterOneWayFakeImpl"/>
<net host="127.0.0.1" port="9320"/>
<api host="127.0.0.1" port="8080"/>
<billing-api-url>http://emp2.allods.mail.ru/actions.php</billing-api-url>
</billingServer>
<accountServer>
<approve ip="127.0.0.1" port="9346"/>
<auth ip="127.0.0.1" port="9340" timeout="30000"/>
<api host="127.0.0.1" port="9356" protocol="http"/>
</accountServer>
<masterServer>
<net ip="127.0.0.1" port="9513"/>
<api ip="127.0.0.1" port="10500"/>
</masterServer>
When I connect another computer to the server's computer, it's work, i'm indeed log-in in the server and i have to choose the server, but when i click on the server to connect it, it's disconect me with an error in accountServer.
How can I resolve the problem?