Yesterday, I updated my SmartFox server from 2.14 to 2.16 and i thought it would be a good time to add a new instance of SmartFox server to separate Dev and alpha-tests.
After adding the second instance, i managed to connect to both of the servers with my game client using TCP and UDP but sadly i cannot deal with the admin tool.
If I start the Dev server first, i am able to connect to the Admin tool via the Dev server address' (and i see all the rooms/zones/infos about the dev server only) but i cannot connect to the alpha-tests address.
If I start the alpha-tests server first, i can connect with the Admin tool to the alpha-tests server but not on the Dev server.
After some researches i couldn't find a way to make it work and some help would be very very appreciated
Here are some infos about my config, I didn't paste all the xml files but feel free to ask if you need more elements :
Host doublechecks :
- Firewall allows all ports listed in the next parts
- I encountered the same problem after disabling the Firewall
- SSL certificate is valid and was used to create a keystore .jks
- The keystore was placed at SFS2X/lib/apache-tomcat/conf of each instance of SmartFoxServer
SmartFox alpha-tests Server - AdminTool Login :
https://myrilandelgames.com:9443/admin/
host : myrilandelgames.com
port : 9443
encrypt : checked
SmartFox alpha-tests Server - server.xml :
Code: Select all
<socketAddresses>
<socket address="0.0.0.0" port="9933" type="TCP"/>
<socket address="0.0.0.0" port="9933" type="UDP"/>
</socketAddresses>
<remoteAdmin>
<administrators>
<adminUser>
<login>****</login>
<password>****</password>
<allowHalt>true</allowHalt>
<disabledModules/>
</adminUser>
</administrators>
<allowedRemoteAddresses/>
<adminTcpPort>-1</adminTcpPort>
<useEncryption>true</useEncryption>
</remoteAdmin>
<webServer>
<isActive>true</isActive>
<blueBoxPollingTimeout>26</blueBoxPollingTimeout>
<blueBoxMsgQueueSize>40</blueBoxMsgQueueSize>
<isXForwardedForActive>false</isXForwardedForActive>
<allowedWebsocketOrigins/>
<isWSActive>true</isWSActive>
<gHttpPort>8083</gHttpPort>
<gHttpsPort>9443</gHttpsPort>
</webServer>
SmartFox alpha-tests Server - Tomcat server.xml :
Code: Select all
<Connector connectionTimeout="20000" port="8083" protocol="HTTP/1.1" redirectPort="9443"/>
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="lib/apache-tomcat/conf/myrilandelgames-keystore.jks" keystorePass="****" maxThreads="200" port="9443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
SmartFox alpha-tests Server - crossdomain.xml :
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- This is a master-policy file. site-control can be all,none,master-only -->
<site-control permitted-cross-domain-policies="all"/>
<!-- Instead of setting to-ports="*", administrators can use ranges and commas -->
<!-- This will allow access to ports 123, 456, 457, and 458 -->
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>
__________________________
SmartFox Dev - AdminTool Login :
https://myrilandelgames.com:9442/admin/
host : myrilandelgames.com
port : 9442
encrypt : checked
SmartFox Dev Server - server.xml :
Code: Select all
<socketAddresses>
<socket address="0.0.0.0" port="9932" type="TCP"/>
<socket address="0.0.0.0" port="9932" type="UDP"/>
</socketAddresses>
<remoteAdmin>
<administrators>
<adminUser>
<login>****</login>
<password>****</password>
<allowHalt>true</allowHalt>
<disabledModules/>
</adminUser>
</administrators>
<allowedRemoteAddresses/>
<adminTcpPort>-1</adminTcpPort>
<useEncryption>true</useEncryption>
</remoteAdmin>
<webServer>
<isActive>true</isActive>
<blueBoxPollingTimeout>26</blueBoxPollingTimeout>
<blueBoxMsgQueueSize>40</blueBoxMsgQueueSize>
<isXForwardedForActive>false</isXForwardedForActive>
<allowedWebsocketOrigins/>
<isWSActive>true</isWSActive>
<gHttpPort>8082</gHttpPort>
<gHttpsPort>9442</gHttpsPort>
</webServer>
SmartFox Dev Server - Tomcat server.xml :
Code: Select all
<Connector connectionTimeout="20000" port="8082" protocol="HTTP/1.1" redirectPort="9442"/>
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="lib/apache-tomcat/conf/myrilandelgames-keystore.jks" keystorePass="****" maxThreads="200" port="9442" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
SmartFox Dev Server - crossdomain.xml :
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- This is a master-policy file. site-control can be all,none,master-only -->
<site-control permitted-cross-domain-policies="all"/>
<!-- Instead of setting to-ports="*", administrators can use ranges and commas -->
<!-- This will allow access to ports 123, 456, 457, and 458 -->
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>
Thank you very much in advance for your help,
Cheers !
Myrilandel