-
Bug
-
Resolution: Incomplete
-
None
-
1.9.0.15
-
Debian 10 (Buster)
Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux
openjdk 11.0.4 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing)
{color:#FF0000}*BDS Version 1.12.0.28*{color}Debian 10 (Buster) Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux openjdk 11.0.4 2019-07-16 OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1) OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing) {color:#FF0000}*BDS Version 1.12.0.28*{color}
-
Unconfirmed
Upon trying to launched bedrock server, it appears that it is ignoring both options within server.properties:
server-port=19132 server-portv6=19133
The following output is observed:
# LD_LIBRARY_PATH=. ./bedrock_server NO LOG FILE! - setting up server logging... [2019-08-08 13:58:15 INFO] Starting Server [2019-08-08 13:58:15 INFO] Version 1.12.0.28 [2019-08-08 13:58:15 INFO] Session ID e0d9fbf4-a584-4d6e-8df1-03e76330598f [2019-08-08 13:58:15 INFO] Level Name: Bedrock level [2019-08-08 13:58:15 INFO] Game mode: 0 Survival [2019-08-08 13:58:15 INFO] Difficulty: 1 EASY [2019-08-08 13:58:16 INFO] IPv4 supported, port: 0 [2019-08-08 13:58:16 INFO] IPv6 supported, port: 0 [2019-08-08 13:58:16 ERROR] Network port occupied, can't start server. Quit correctly
It appears that BDS is trying to bind both IPv6 and IPv4 to port 0.
Also, it is incorrectly identifying IPv6 as being supported, as this is disabled on the host via grub upon launch:
default/grub:10:GRUB_CMDLINE_LINUX="ipv6.disable=1"
This is with a fresh copy of BDS, with default config values present:
server-name=Dedicated Server gamemode=survival difficulty=easy allow-cheats=false max-players=10 online-mode=true white-list=false server-port=19132 server-portv6=19133 view-distance=10 tick-distance=4 player-idle-timeout=30 max-threads=8 level-name=Bedrock level level-seed= default-player-permission-level=member texturepack-required=false content-log-file-enabled=false
No other processes or services are running on the ports set within the configuration.
- is duplicated by
-
BDS-9198 Bug - Bedrock server uses port 0 instead of the defined ones
- Resolved