Smartfox Server 2X无法连接到我的服务器

时间:2014-12-08 21:45:49

标签: c# xml firefox

我正在学习如何使用smartfox server2x,我正在运行这个问题,我将启动智能狐狸服务器,当我登录访问智能狐狸服务器2x管理工具时,它告诉我它无法连接到我的本地服务器:172.0.0.1:9933。

奇怪的是,自安装以来,我还没有做任何事情。所以我的问题是,我做错了什么?我将为您提供xml文件。我希望你能帮助我搞清楚。

<serverSettings>
  <socketAddresses>
    <socket address="127.0.0.1" port="9933" type="TCP"/>
    <socket address="127.0.0.1" port="9933" type="UDP"/>
  </socketAddresses>
  <ipFilter>
    <addressBlackList>
      <string>1.2.3.4</string>
    </addressBlackList>
    <addressWhiteList>
      <string>127.0.0.1</string>
    </addressWhiteList>
    <maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
  </ipFilter>
  <flashCrossdomainPolicy>
    <useMasterSocketPolicy>true</useMasterSocketPolicy>
    <policyXmlFile>crossdomain.xml</policyXmlFile>
  </flashCrossdomainPolicy>
  <systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
  <extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
  <schedulerThreadPoolSize>4</schedulerThreadPoolSize>
  <protocolCompressionThreshold>1024</protocolCompressionThreshold>
  <protocolMode>BINARY</protocolMode>
  <useBinaryProtocol>true</useBinaryProtocol>
  <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>true</useFriendlyExceptions>
  <mailer>
    <isActive>false</isActive>
    <mailHost>your.smtp.here</mailHost>
    <mailUser>username</mailUser>
    <mailPass>password</mailPass>
    <smtpPort>25</smtpPort>
    <workerThreads>1</workerThreads>
  </mailer>
  <webServer>
    <isActive>true</isActive>
    <blueBoxPollingTimeout>26</blueBoxPollingTimeout>
    <blueBoxMsgQueueSize>40</blueBoxMsgQueueSize>
  </webServer>
  <webSocket>
    <isActive>false</isActive>
    <bindAddress>127.0.0.1</bindAddress>
    <tcpPort>8888</tcpPort>
    <sslPort>8843</sslPort>
    <isSSL>false</isSSL>
    <keyStoreFile>config/keystore.jks</keyStoreFile>
    <keyStorePassword>password</keyStorePassword>
  </webSocket>
  <analytics>
    <isActive>false</isActive>
    <runOnDay>[everyday]</runOnDay>
    <runAtHour>2</runAtHour>
    <runOnStartup>false</runOnStartup>
    <rebuildDB>false</rebuildDB>
    <skipGeolocation>false</skipGeolocation>
    <sourceFolder></sourceFolder>
    <locale></locale>
  </analytics>
 <systemThreadPoolSettings>
   <name>Sys</name>
   <coreThreads>4</coreThreads>
   <backupThreads>8</backupThreads>
   <maxBackups>16</maxBackups>
   <queueSizeTriggeringBackup>100</queueSizeTriggeringBackup>
   <secondsTriggeringBackup>50</secondsTriggeringBackup>
   <backupThreadsExpiry>3600</backupThreadsExpiry>
   <queueSizeTriggeringBackupExpiry>60</queueSizeTriggeringBackupExpiry>
   <logActivity>true</logActivity>
   <queueFullWarningInterval>300</queueFullWarningInterval>
 </systemThreadPoolSettings>
 <extensionThreadPoolSettings>
   <name>Ext</name>
   <coreThreads>4</coreThreads>
   <backupThreads>8</backupThreads>
   <maxBackups>16</maxBackups>
   <queueSizeTriggeringBackup>100</queueSizeTriggeringBackup>
   <secondsTriggeringBackup>50</secondsTriggeringBackup>
   <backupThreadsExpiry>3600</backupThreadsExpiry>
   <queueSizeTriggeringBackupExpiry>60</queueSizeTriggeringBackupExpiry>
   <logActivity>true</logActivity>
   <queueFullWarningInterval>300</queueFullWarningInterval>
 </extensionThreadPoolSettings>
  <startExtensionFileMonitor>true</startExtensionFileMonitor>
  <useDebugMode>true</useDebugMode>
  <sessionMaxIdleTime>30</sessionMaxIdleTime>
  <userMaxIdleTime>300</userMaxIdleTime>
  <licenseCode></licenseCode>
  <licenseEmails></licenseEmails>
  <ghostHunterEnabled>true</ghostHunterEnabled>
  <statsExtraLoggingEnabled>true</statsExtraLoggingEnabled>
</serverSettings>

1 个答案:

答案 0 :(得分:0)

IP为127.0.0.1,而不是172.0.0.1,9933是游戏的端口,而不是管理工具。

要登录管理工具,默认端口为8080。 http://localhost:8080/admin/