Unexpected "Port" Lines Appear When Starting A Bedrock Server
I am working hard on my English,so excuse me if the sentences are poorly organized!
NO LOG FILE! - setting up server logging...
[2020-01-19 00:39:54 INFO] Starting Server
[2020-01-19 00:39:54 INFO] Version 1.14.1.4
[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
[2020-01-19 00:39:55 INFO] Server started.
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
NO LOG FILE! - setting up server logging...
[2020-01-19 00:48:36 INFO] Starting Server
[2020-01-19 00:48:36 INFO] Version 1.14.1.4
[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
The former server is accessible with the "25565" IPv4 port but not default ports,while the latter one is just not accessible at all.
Environment
Windows Server 2016 Datacenter
Comments2
History8
Changed description:
NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port
NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port
Changed description:
NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port but
Changed description:
I am working hard on my English,so excuse me if the sentences are poorly organized!
NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port but not default ports,while the latter one is just not.
Changed description:
I am working hard on my English,so excuse me if the sentences are poorly organized!
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port but not default ports,while the latter one is just not
Changed description:
I am working hard on my English,so excuse me if the sentences are poorly organized!
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port but not default ports,while the latter one is just not a
I am working hard on my English,so excuse me if the sentences are poorly organized!
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:39:54 INFO] Starting Server
0[2020-01-19 00:39:54 INFO] Version 1.14.1.4
0[2020-01-19 00:39:54 INFO] Session ID 6e479d59-22e4-46d8-a84e-c02d55ed97f1
0[2020-01-19 00:39:54 INFO] Level Name: RUNNINGWORLD
0[2020-01-19 00:39:54 INFO] Game mode: 2 Adventure
0[2020-01-19 00:39:54 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 25565
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 65535
0[2020-01-19 00:39:55 INFO] IPv4 supported, port: 19132
0[2020-01-19 00:39:55 INFO] IPv6 supported, port: 19133
0[2020-01-19 00:39:55 INFO] Server started.
0
The "port" lines appeared for two times with the second one using default port,after which I started another server at the same time whose port was set to be different and only to find the "port" being occupied like this:
0NO LOG FILE! - setting up server logging...
0[2020-01-19 00:48:36 INFO] Starting Server
0[2020-01-19 00:48:36 INFO] Version 1.14.1.4
0[2020-01-19 00:48:36 INFO] Session ID 28f22195-e3fe-4591-aee6-e8770afd384d
0[2020-01-19 00:48:36 INFO] Level Name: Bedrock level
0[2020-01-19 00:48:36 INFO] Game mode: 1 Creative
0[2020-01-19 00:48:36 INFO] Difficulty: 0 PEACEFUL
0[2020-01-19 00:48:37 INFO] IPv4 supported, port: 0
0[2020-01-19 00:48:37 INFO] IPv6 supported, port: 0
0[2020-01-19 00:48:37 ERROR] Network port occupied, can't start server.
0
The former server is accessible with the "25565" IPv4 port but not default ports,while the latter one is just not a
Added labels: server
Added labels: feature-check
Resolution: Unresolved → Invalid
BDS for some reason attaches to 2 ports each for IPv4 and 6. The first is the one defined in the server.properties and the second is randomly generated. It is usually in a higher range if you use the default 19132 for your server.
Is the second server you're trying to start using the default 19132 or have you changed that one as well?
If the second is using default you should find starting your second server and then your first resolves the issue.
I agree that it would be helpful to have some control over the random port though,
Thank you very much for your response. With your help, the problem has been settled.
When I set the first port "19132" and "19133",and the second port ""19134" and "19135",both of the two server runs well. It turns out that the best choice is use ports starting from the default one "19132" and "19133" and progressively increase the numbers like "19134,19135"... and start the servers in a proper order, then all the servers run properly in the end.