Code: Select all
<serverSettings>
<socketAddresses>
<socket address="127.0.0.1" port="4443" 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>myuser</login>
<password>mypassword</password>
</adminUser>
</administrators>
<adminTcpPort>4444</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>
When I try to connect to my server using the admin web interface, I get the message:
Unable to connect to myhost.com:4444
Also, I can telnet remotely to port 4443 (socket) just fine, which shows that the connection is going through. However, I can't telnet to port 4444 (admin). It's not a firewall problem, because both ports are allowed. I already tried interchanging them in the server.xml file and I still can't connect to the one I set as admin.
I tried checking my open ports using
Code: Select all
lsof -Pnl +M
It turns out that only port 4443 (socket) shows up as open; port 4444 (admin) doesn't.
And I see this in the log when I try to connect.
Code: Select all
20 abr 2011 04:40:55,729 INFO [SocketReader] bitswarm.core.SocketAcceptor - Session created: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:34402 } on Server port: 4443 <---> 34402
20 abr 2011 04:40:57,338 WARN [SocketReader] protocol.binary.BinaryIoHandler - Illegal request size: -184550138 bytes, from: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:34402 }
20 abr 2011 04:40:58,880 INFO [SocketReader] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:34402 }
20 abr 2011 04:40:58,881 WARN [SocketReader] protocol.binary.BinaryIoHandler - Incoming request size too large: 168626943, Current limit: 8000000, From: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:34402 }
Any help would be greatly appreciated!