Cannot connect to new AdminTool

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

H3LL51nG
Posts: 5
Joined: 18 Jan 2021, 09:36

Re: Cannot connect to new AdminTool

Postby H3LL51nG » 19 Jan 2021, 10:23

Still can't login even after using 8080. But i do get logs like <ipaddress>:8080 port has already been assigned or something.
User avatar
Lapo
Site Admin
Posts: 21836
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Cannot connect to new AdminTool

Postby Lapo » 19 Jan 2021, 15:02

By default SFS2X uses port 9933 for sockets, and 8080 for HTTP and Websocket.
Have you modified any of these?
If not, the connection to the AdminTool will work out of the box, as the AdminTool login screen already assumes 8080 as the default port for connection.

But i do get logs like <ipaddress>:8080 port has already been assigned or something.

Please provide more details, such as a stack trace of the error.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
H3LL51nG
Posts: 5
Joined: 18 Jan 2021, 09:36

Re: Cannot connect to new AdminTool

Postby H3LL51nG » 20 Jan 2021, 06:14

This is the boot log file

Code: Select all

20 Jan 2021 | 05:59:57,836 | INFO  | main | bootLogger |     | SmartFoxServer 2X
20 Jan 2021 | 05:59:57,836 | INFO  | main | bootLogger |     | BitSwarmEngine version: 3.60.0 { main }
20 Jan 2021 | 05:59:57,852 | INFO  | main | bootLogger |     | System Info:
   Processor(s): 1
   VM Max. memory: 259MB
   os.name: Windows Server 2012
   os.arch: amd64
   os.version: 6.2
   java.version: 1.8.0_232
   java.vendor: AdoptOpenJDK
   java.vendor.url: http://java.oracle.com/
   java.vm.specification.version: 1.8
   java.vm.version: 25.232-b09
   java.vm.vendor:
   java.vm.name: OpenJDK 64-Bit Server VM
   java.io.tmpdir: C:\Windows\TEMP\
   Default charset: UTF-8
20 Jan 2021 | 05:59:57,883 | INFO  | main | bootLogger |     | Network Info:
   Card: Software Loopback Interface 1
       ->127.0.0.1
       ->0:0:0:0:0:0:0:1
   Card: WAN Miniport (L2TP)
   Card: WAN Miniport (SSTP)
   Card: WAN Miniport (IKEv2)
   Card: WAN Miniport (PPTP)
   Card: WAN Miniport (PPPOE)
   Card: WAN Miniport (IP)
   Card: WAN Miniport (IPv6)
   Card: WAN Miniport (Network Monitor)
   Card: Microsoft Kernel Debug Network Adapter
   Card: RAS Async Adapter
   Card: Teredo Tunneling Pseudo-Interface
       ->fe80:0:0:0:0:100:7f:fffe%net4
   Card: AWS PV Network Device
   Card: AWS PV Network Device #0
       ->172.31.22.81
       ->fe80:0:0:0:b435:202a:9f18:d29e%eth5
   Card: Microsoft ISATAP Adapter
       ->fe80:0:0:0:0:5efe:ac1f:1651%net5
   Card: WAN Miniport (IP)-QoS Packet Scheduler-0000
   Card: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
   Card: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-WFP 802.3 MAC Layer LightWeight Filter-0000
   Card: AWS PV Network Device #0-WFP Native MAC Layer LightWeight Filter-0000
20 Jan 2021 | 05:59:57,883 | INFO  | main | bootLogger |     | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@35338e8f
20 Jan 2021 | 05:59:57,961 | INFO  | main | bootLogger |     | TCP Selector opened
20 Jan 2021 | 05:59:57,961 | INFO  | main | bootLogger |     | UDP Selector opened
20 Jan 2021 | 05:59:57,977 | INFO  | main | bootLogger |     | AcceptSelector opened
20 Jan 2021 | 05:59:57,977 | INFO  | main | bootLogger |     | Added bound tcp socket --> 0.0.0.0:9933
20 Jan 2021 | 05:59:57,977 | INFO  | main | bootLogger |     | Added bound udp socket --> 127.0.0.1:9933
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SystemReqController
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.ExtensionReqController
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SmasherReqController
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | Socket Writer started (pool size:3)
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | Security Manager started
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | DatagramReader started
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@316b3bc5
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | SocketReader started
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | SocketAcceptor initialized
20 Jan 2021 | 05:59:57,992 | INFO  | main | bootLogger |     | [[[ ===--- Boot sequence complete ---=== ]]]
20 Jan 2021 | 05:59:58,195 | INFO  | Scheduler1-thread-1 | bootLogger |     | Scheduler started: scheduler
20 Jan 2021 | 06:01:02,994 | INFO  | main | bootLogger |     | SmartFoxServer 2X
20 Jan 2021 | 06:01:02,995 | INFO  | main | bootLogger |     | BitSwarmEngine version: 3.71.0 { main }
20 Jan 2021 | 06:01:02,996 | INFO  | main | bootLogger |     | System Info:
   Processor(s): 1
   VM Max. memory: 259MB
   os.name: Windows Server 2012
   os.arch: amd64
   os.version: 6.2
   java.version: 1.8.0_232
   java.vendor: AdoptOpenJDK
   java.vendor.url: http://java.oracle.com/
   java.vm.specification.version: 1.8
   java.vm.version: 25.232-b09
   java.vm.vendor:
   java.vm.name: OpenJDK 64-Bit Server VM
   java.io.tmpdir: C:\Users\ADMINI~1\AppData\Local\Temp\3\
   Default charset: UTF-8
20 Jan 2021 | 06:01:03,035 | INFO  | main | bootLogger |     | Network Info:
   Card: Software Loopback Interface 1
       ->127.0.0.1
       ->0:0:0:0:0:0:0:1
   Card: WAN Miniport (L2TP)
   Card: WAN Miniport (SSTP)
   Card: WAN Miniport (IKEv2)
   Card: WAN Miniport (PPTP)
   Card: WAN Miniport (PPPOE)
   Card: WAN Miniport (IP)
   Card: WAN Miniport (IPv6)
   Card: WAN Miniport (Network Monitor)
   Card: Microsoft Kernel Debug Network Adapter
   Card: RAS Async Adapter
   Card: Teredo Tunneling Pseudo-Interface
       ->fe80:0:0:0:0:100:7f:fffe%net4
   Card: AWS PV Network Device
   Card: AWS PV Network Device #0
       ->172.31.22.81
       ->fe80:0:0:0:b435:202a:9f18:d29e%eth5
   Card: Microsoft ISATAP Adapter
       ->fe80:0:0:0:0:5efe:ac1f:1651%net5
   Card: WAN Miniport (IP)-QoS Packet Scheduler-0000
   Card: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
   Card: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-WFP 802.3 MAC Layer LightWeight Filter-0000
   Card: AWS PV Network Device #0-WFP Native MAC Layer LightWeight Filter-0000
20 Jan 2021 | 06:01:03,041 | INFO  | main | bootLogger |     | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@5d0bf09b
20 Jan 2021 | 06:01:03,107 | INFO  | main | bootLogger |     | TCP Selector opened
20 Jan 2021 | 06:01:03,113 | INFO  | main | bootLogger |     | UDP Selector opened
20 Jan 2021 | 06:01:03,117 | INFO  | main | bootLogger |     | AcceptSelector opened
20 Jan 2021 | 06:01:03,117 | INFO  | main | bootLogger |     | DatagramChannel cache size: 80
20 Jan 2021 | 06:01:03,122 | WARN  | main | bootLogger |     | Was not able to bind socket: { 0.0.0.0:9933, (Tcp) }
20 Jan 2021 | 06:01:03,132 | WARN  | main | bootLogger |     | Was not able to bind socket: { 127.0.0.1:9933, (Udp) }
20 Jan 2021 | 06:01:03,134 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SystemReqController
20 Jan 2021 | 06:01:03,134 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.ExtensionReqController
20 Jan 2021 | 06:01:03,134 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SmasherReqController
20 Jan 2021 | 06:01:03,136 | INFO  | main | bootLogger |     | SocketWriter v3 started (TCP pool size: 3, UDP pool size: 3
20 Jan 2021 | 06:01:03,137 | INFO  | main | bootLogger |     | Security Manager started
20 Jan 2021 | 06:01:03,139 | INFO  | main | bootLogger |     | DatagramReader started
20 Jan 2021 | 06:01:03,140 | INFO  | main | bootLogger |     | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@5a59ca5e
20 Jan 2021 | 06:01:03,141 | INFO  | main | bootLogger |     | SocketReader started
20 Jan 2021 | 06:01:03,141 | INFO  | main | bootLogger |     | SocketAcceptor initialized
20 Jan 2021 | 06:01:03,141 | ERROR | main | bootLogger |     | No bound sockets! Check the boot logs for possible problems!
20 Jan 2021 | 06:01:03,143 | INFO  | main | bootLogger |     | [[[ ===--- Boot sequence complete ---=== ]]]
20 Jan 2021 | 06:01:03,306 | INFO  | Scheduler1-thread-1 | bootLogger |     | Scheduler started: scheduler
20 Jan 2021 | 06:10:09,244 | INFO  | main | bootLogger |     | SmartFoxServer 2X
20 Jan 2021 | 06:10:09,244 | INFO  | main | bootLogger |     | BitSwarmEngine version: 3.71.0 { main }
20 Jan 2021 | 06:10:09,244 | INFO  | main | bootLogger |     | System Info:
   Processor(s): 1
   VM Max. memory: 259MB
   os.name: Windows Server 2012
   os.arch: amd64
   os.version: 6.2
   java.version: 1.8.0_232
   java.vendor: AdoptOpenJDK
   java.vendor.url: http://java.oracle.com/
   java.vm.specification.version: 1.8
   java.vm.version: 25.232-b09
   java.vm.vendor:
   java.vm.name: OpenJDK 64-Bit Server VM
   java.io.tmpdir: C:\Users\ADMINI~1\AppData\Local\Temp\3\
   Default charset: UTF-8
20 Jan 2021 | 06:10:09,291 | INFO  | main | bootLogger |     | Network Info:
   Card: Software Loopback Interface 1
       ->127.0.0.1
       ->0:0:0:0:0:0:0:1
   Card: WAN Miniport (L2TP)
   Card: WAN Miniport (SSTP)
   Card: WAN Miniport (IKEv2)
   Card: WAN Miniport (PPTP)
   Card: WAN Miniport (PPPOE)
   Card: WAN Miniport (IP)
   Card: WAN Miniport (IPv6)
   Card: WAN Miniport (Network Monitor)
   Card: Microsoft Kernel Debug Network Adapter
   Card: RAS Async Adapter
   Card: Teredo Tunneling Pseudo-Interface
       ->fe80:0:0:0:0:100:7f:fffe%net4
   Card: AWS PV Network Device
   Card: AWS PV Network Device #0
       ->172.31.22.81
       ->fe80:0:0:0:b435:202a:9f18:d29e%eth5
   Card: Microsoft ISATAP Adapter
       ->fe80:0:0:0:0:5efe:ac1f:1651%net5
   Card: WAN Miniport (IP)-QoS Packet Scheduler-0000
   Card: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
   Card: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-QoS Packet Scheduler-0000
   Card: AWS PV Network Device #0-WFP 802.3 MAC Layer LightWeight Filter-0000
   Card: AWS PV Network Device #0-WFP Native MAC Layer LightWeight Filter-0000
20 Jan 2021 | 06:10:09,307 | INFO  | main | bootLogger |     | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@5d0bf09b
20 Jan 2021 | 06:10:09,431 | INFO  | main | bootLogger |     | TCP Selector opened
20 Jan 2021 | 06:10:09,447 | INFO  | main | bootLogger |     | UDP Selector opened
20 Jan 2021 | 06:10:09,447 | INFO  | main | bootLogger |     | AcceptSelector opened
20 Jan 2021 | 06:10:09,447 | INFO  | main | bootLogger |     | DatagramChannel cache size: 80
20 Jan 2021 | 06:10:09,463 | WARN  | main | bootLogger |     | Was not able to bind socket: { 0.0.0.0:8080, (Tcp) }
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | Added bound udp socket --> 127.0.0.1:8080
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SystemReqController
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.ExtensionReqController
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | Controller started: com.smartfoxserver.v2.controllers.v290.SmasherReqController
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | SocketWriter v3 started (TCP pool size: 3, UDP pool size: 3
20 Jan 2021 | 06:10:09,494 | INFO  | main | bootLogger |     | Security Manager started
20 Jan 2021 | 06:10:09,494 | INFO  | Scheduler1-thread-1 | bootLogger |     | Scheduler started: scheduler
20 Jan 2021 | 06:10:09,509 | INFO  | main | bootLogger |     | DatagramReader started
20 Jan 2021 | 06:10:09,665 | INFO  | main | bootLogger |     | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@60f00693
20 Jan 2021 | 06:10:09,665 | INFO  | main | bootLogger |     | SocketReader started
20 Jan 2021 | 06:10:09,665 | INFO  | main | bootLogger |     | SocketAcceptor initialized
20 Jan 2021 | 06:10:09,665 | INFO  | main | bootLogger |     | [[[ ===--- Boot sequence complete ---=== ]]]
User avatar
Lapo
Site Admin
Posts: 21836
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Cannot connect to new AdminTool

Postby Lapo » 20 Jan 2021, 08:06

It looks like you're trying to bind port 8080 for the socket protocol, which will conflict with the Websocket protocol as it uses that port as well, unless you changed it.

I would like to see the stack trace of the error you have mentioned and the server.xml file found under SFS2X/config/

You can send it to our support@... email box with a reference to this discussion.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 28 guests