ServerSync

ServerSync

48.5k Downloads

Port issues

ElSaam opened this issue ยท 1 comments

commented

Serversync Version: 2.6.11

Minecraft Version: 1.11.2

Issue: Server crashes because of same port. If i put different port client can't connect to server.

Logs
[14:36:27] [Server thread/INFO]: [STDOUT]: Found 1 files in: clientmods
[14:36:27] [Server thread/INFO]: [STDOUT]: clientmods\aether_legacy-1.11.2-1.0.jar
[14:36:27] [Server thread/INFO]: [STDOUT]: Starting scan for sync files: Jun 5, 2017
[14:36:27] [Server thread/INFO]: [STDOUT]: Scanning mods
[14:36:27] [Server thread/INFO]: [STDOUT]: Found 39 files in: mods
[14:36:27] [Server thread/INFO]: [STDOUT]: Found serversync in the mods folder, removing from sync list
[14:36:27] [Thread-11/INFO]: [STDOUT]: Creating new server socket
[14:36:27] [Thread-11/INFO]: [STDOUT]: Now accepting clients...
[14:36:27] [Server thread/INFO]: [STDOUT]: Creating and starting Pokemob AI Threads.
[14:36:27] [Netty Server IO - Mob AI Thread-0/INFO]: [STDOUT]: This is Thread 0
[14:36:28] [Server thread/INFO]: Loading properties
[14:36:28] [Server thread/INFO]: Default game type: CREATIVE
[14:36:28] [Server thread/INFO]: Generating keypair
[14:36:28] [Server thread/INFO]: Starting Minecraft server on *:25566
[14:36:28] [Server thread/INFO]: Using default channel type
[14:36:28] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[14:36:28] [Server thread/WARN]: The exception was: java.net.BindException: Address already in use: bind
[14:36:28] [Server thread/WARN]: Perhaps a server is already running on that port?
[14:36:28] [Server thread/INFO]: Stopping server
[14:36:28] [Server thread/INFO]: Saving worlds
commented

I would recommend using the latest version of ServerSync.

Though that aside, SS needs to be running on a different port to minecraft itself, clients then run SS and input the port that SS is running on.

Minecraft Server: 111
Serversync: 858

Clients start up SS and connect to xxx.xxx.xx:858, currently I have not found a good way to get SS to auto sync when connecting to a server through minecraft itself.