Installation Troubles
Installation Troubles
Hi,
I'm a new user and I'm having some problems getting my SmartFox server up and running.
I use a Media Temple dv server (http://mediatemple.net/webhosting/dv/) for my hosting.
I've managed to install the SmartFox product and can reach it here:
http://www.nocturnalware.com:8080/admin
(currently still on default password etc).
I'm unable to actually launch the admin tool though. I've removed all of the addresses from the allowedRemoteAddresses section of server.xml and restarted but this hasn't helped.
I'm wondering what else I might need to be doing?
I've contacted Media Temple to ensure that 9933 is open, and this was their response (this was prior to me changing the remote addresses option):
Port 9933 is opened by default on the (dv) Dedicated-Virtual Server. The problem you are encountering is that you do not have any services listening on this port. So when you try to make a connection it is being refused. I looked at your server and you only have a listening service on the port when using localhost. You have to make it so your new service is listening to incoming connections.
I'm a new user and I'm having some problems getting my SmartFox server up and running.
I use a Media Temple dv server (http://mediatemple.net/webhosting/dv/) for my hosting.
I've managed to install the SmartFox product and can reach it here:
http://www.nocturnalware.com:8080/admin
(currently still on default password etc).
I'm unable to actually launch the admin tool though. I've removed all of the addresses from the allowedRemoteAddresses section of server.xml and restarted but this hasn't helped.
I'm wondering what else I might need to be doing?
I've contacted Media Temple to ensure that 9933 is open, and this was their response (this was prior to me changing the remote addresses option):
Port 9933 is opened by default on the (dv) Dedicated-Virtual Server. The problem you are encountering is that you do not have any services listening on this port. So when you try to make a connection it is being refused. I looked at your server and you only have a listening service on the port when using localhost. You have to make it so your new service is listening to incoming connections.
Just asked Media Temple to double-check that 9933 is definitely open and this was their response. I'm totally at a loss as to why I can't access the Admin Tool.
"Port 9933 is not blocked by infrastructure and you should be able to telnet without issue to your server. Also to be double sure, I used an online port scanner which also confirmed that port 9933 was responding."
"Port 9933 is not blocked by infrastructure and you should be able to telnet without issue to your server. Also to be double sure, I used an online port scanner which also confirmed that port 9933 was responding."
My current server.xml file:
Code: Select all
[root@nocturnalware config]# cat server.xml
<serverSettings>
<socketAddresses>
<socket address="70.32.106.51" port="9933" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
</addressBlackList>
<addressWhiteList>
</addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
I have the same problem as you. Here's my server.xml
<serverSettings>
<socketAddresses>
<socket address="127.0.0.1" port="9933" type="TCP"/>
<socket address="173.255.206.61" port="9333" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
<serverSettings>
<socketAddresses>
<socket address="127.0.0.1" port="9933" type="TCP"/>
<socket address="173.255.206.61" port="9333" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
I'd read somewhere that leaving the allowedRemoteAddresses section blank was the way to enable ALL hosts?
Code: Select all
<allowedRemoteAddresses>
</allowedRemoteAddresses>
By the way, you're specifying port 9333 instead of 9933 in the following line:
Was that intentional?
Code: Select all
<socket address="173.255.206.61" port="9333" type="TCP"/>
Here's my server.xml
<serverSettings>
<socketAddresses>
<socket address="173.255.206.61" port="9933" type="TCP"/>
<socket address="127.0.0.1" port="9933" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<!--<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>-->
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
And here is what netstat -pan |grep -i :9933 shows on my remote machine
tcp6 0 0 127.0.0.1:9933 :::* LISTEN 10751/java
tcp6 0 0 173.255.206.61:9933 :::* LISTEN 10751/java
<serverSettings>
<socketAddresses>
<socket address="173.255.206.61" port="9933" type="TCP"/>
<socket address="127.0.0.1" port="9933" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<!--<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>-->
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
And here is what netstat -pan |grep -i :9933 shows on my remote machine
tcp6 0 0 127.0.0.1:9933 :::* LISTEN 10751/java
tcp6 0 0 173.255.206.61:9933 :::* LISTEN 10751/java