- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<server serverAddress="0.0.0.0"
serverName="mage-server"
port="17171"
secondaryBindPort="17179"
backlogSize="200"
numAcceptThreads="2"
maxPoolSize="300"
leasePeriod="5000"
maxGameThreads="10"
maxSecondsIdle="600"
minUserNameLength="3"
maxUserNameLength="14"
userNamePattern="[^a-z0-9_]"
maxAiOpponents="15"
saveGameActivated="false"
/>
Now, if I leave it at 0.0.0.0, then JBOSS can bind that address.
- Code: Select all
INFO 2014-10-23 19:56:00,466 Started MAGE server - listening on 0.0.0.0:17171/?serializationtype=jboss&maxPoolSize=300 =>[main] Main.main
The client says "Unable to connect to server. ip-172-31-40-112" Now the funny thing is that "ip-172-31-40-112" is the hostname for the ubuntu server, so obviously it is contacting somehow. Even telnet to port 17171 will bring up a "jbs1{" prompt
If I use the public IP (54.191.15.126) provided for the machine:
- Code: Select all
INFO 2014-10-23 19:57:11,047 Config - second.bind port: 17179 =>[main] Main.main
It hangs without binding an IP.
If I use the Private IP given:
- Code: Select all
INFO 2014-10-23 19:59:37,952 Started MAGE server - listening on 172.31.40.112:17171/?serializationtype=jboss&maxPoolSize=300 =>[main] Main.main
It binds... but the client just sits at the "connecting" stage... No response on the server's output.
I've opened ALL ports to my server from my client's IP.