Skip to content

Container won't start on a fresh vm - "Port may be in use" #326

@seriousrob

Description

@seriousrob

Hi everyone,

i'm having trouble with the deployment of a new bedrock server on a fresh ubuntu 22.04 LTS vm.

I just used the default deployment command

docker run -d -it -e EULA=TRUE -p 19132:19132/udp -v mc-bedrock-data:/data itzg/minecraft-bedrock-server

but i will get a log like this from portainer:

DEBU[0000] Using /data to match uid and gid
DEBU[0000] Resolved UID=0 from match path
DEBU[0000] Resolved GID=0 from match path
Looking up latest version...
Downloading Bedrock server version 1.19.83.01 ...
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2023-05-29 09:06:10:330 INFO] Starting Server
[2023-05-29 09:06:10:330 INFO] Version 1.19.83.01
[2023-05-29 09:06:10:330 INFO] Session ID 2013ee82-5cbf-463a-935c-32739b3bc680
[2023-05-29 09:06:10:330 INFO] Build ID 1.19.83
[2023-05-29 09:06:10:330 INFO] Branch r/19_u8
[2023-05-29 09:06:10:330 INFO] Commit ID c184ec32505984a38099320b43fd54425c2e4f5d
[2023-05-29 09:06:10:330 INFO] Configuration Publish
[2023-05-29 09:06:10:331 INFO] Level Name: Bedrock level
[2023-05-29 09:06:10:333 INFO] Game mode: 0 Survival
[2023-05-29 09:06:10:333 INFO] Difficulty: 1 EASY
[2023-05-29 09:06:10:376 INFO] opening worlds/Bedrock level/db
[2023-05-29 09:06:11:367 ERROR] Port [19132] may be in use by another process. Free up port and re-run program
[2023-05-29 09:06:11:367 ERROR] Port [19133] may be in use by another process. Free up port and re-run program
[2023-05-29 09:06:11:367 ERROR] Exiting program

I deployed different containers without issues on other machines, including Plex and Pihole but this one is giving me some headaches.

Any hints why this happens? Like i said, the vm is a fresh install and nothing is using that specific port.

regards
Robert

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions