[BDS-178]  IPv4 supported, But port = 0 Created: 20/Oct/18  Updated: 19/Aug/20  Resolved: 19/Aug/20

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.6.1.0
Fix Version/s: None

Type: Bug
Reporter: ZHANG XIAOLONG Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: awaiting-response
Environment:

Using Docker  by https://hub.docker.com/r/qwe7002/bedrock-server/

Dockerfile

```

FROM ubuntu:latest

RUN cd /root && apt-get update && apt-get -y install curl unzip && curl -O https://minecraft.azureedge.net/bin-linux/bedrock-server-1.7.0.13.zip && unzip bedrock-server-1.7.0.13.zip -d mc && rm bedrock-server-1.7.0.13.zip

ENV LD_LIBRARY_PATH=/root/mc

WORKDIR /root/mc

CMD ["./bedrock_server"]

```

 

docker pull qwe7002/bedrock-server

docker run -it qwe7002/bedrock-server


Issue Links:
Relates
relates to BDS-205 Server causes high CPU usage even whe... Resolved
relates to BDS-3141 Missing doco for System Requirements Resolved

 Description   

Run Docker in Macos , worked.

But in Aliyun ECS , run docker run -it qwe7002/bedrock-server

showed the message: port = 0

NO LOG FILE! - setting up server logging...
NO LOG FILE! - [2018-10-19 13:53:28 INFO] Starting Server
NO LOG FILE! - [2018-10-19 13:53:28 INFO] Version 1.7.0.13
NO LOG FILE! - [2018-10-19 13:53:28 INFO] Level Name: Bedrock level
NO LOG FILE! - [2018-10-19 13:53:28 ERROR] Error opening whitelist file: whitelist.json
NO LOG FILE! - [2018-10-19 13:53:28 ERROR] Error opening ops file: ops.json
NO LOG FILE! - [2018-10-19 13:53:28 INFO] Game mode: 0 Survival
NO LOG FILE! - [2018-10-19 13:53:28 INFO] Difficulty: 1 EASY
NO LOG FILE! - [2018-10-19 13:53:29 INFO] IPv4 supported, port: 0
NO LOG FILE! - [2018-10-19 13:53:29 INFO] IPv6 supported, port: 0
NO LOG FILE! - [2018-10-19 13:53:30 INFO] Server started.



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 19/Aug/20 ]

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Comment by IonicEcko [ 21/Mar/20 ]

Hi Zhang,

I haven't heard back from you in a while so I'm going to forward this one for closure as awaiting response.

Please know however that this will immediately re-open on any comments from yourself though so please comment if this is still an issue for you.

All the best and happy Minecrafting!

Ionic

Comment by IonicEcko [ 04/Mar/20 ]

Hi Zhang,

Did you manage to get this sorted/did a later update resolve your issue?

Ionic

Comment by ZHANG XIAOLONG [ 26/Oct/18 ]

I remove the docker layer ,and installed the Dedicated server in Aliyun ECS - Debian 9.

(I copied some .so files from the ubuntu 18 to  root folder of Dedicated server,So Dedicated server can run on  Debian 9 and Ubuntu 14)

The Dedicated server are running ,but port always 0.

And I reinstall the Dedicated server in Linode VPS, it worked. port = 19132.

 

So i think Different virtual machine technologies may affect the creation of server ports by the Dedicated server .

Generated at Sat Jan 11 07:13:10 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.