jails Running minecraft bedrock server in ubuntu jail

I setup a Ubuntu 22.04 jail using bastille: ` bastille create -L minecraft jammy 192.168.1.85`

Installed libcurl4 and fetched latest minecraft bedrock server.

When I try running the server with `./bedrock_server` I get this output:

[2024-03-24 10:29:23:106 INFO] Starting Server
[2024-03-24 10:29:23:106 INFO] Version: 1.20.72.01
[2024-03-24 10:29:23:106 INFO] Session ID: 3d6d9e3c-b17d-4aef-b1fd-4aeafab53a61
[2024-03-24 10:29:23:106 INFO] Build ID: 22930278
[2024-03-24 10:29:23:106 INFO] Branch: r/20_u7
[2024-03-24 10:29:23:106 INFO] Commit ID: ff4a891b1b857e1e4dbd75155321fe8f6c139917
[2024-03-24 10:29:23:106 INFO] Configuration: Publish
[2024-03-24 10:29:23:107 INFO] Level Name: Bedrock level
[2024-03-24 10:29:23:109 INFO] No CDN config file found for dedicated server
[2024-03-24 10:29:23:109 INFO] Game mode: 0 Survival
[2024-03-24 10:29:23:109 INFO] Difficulty: 1 EASY
[2024-03-24 10:29:23:110 INFO] Content logging to console is enabled.
[2024-03-24 10:29:23:597 INFO] Opening level 'worlds/Bedrock level/db'
[2024-03-24 10:29:24:385 ERROR] Port [19132] may be in use by another process. Free up port and re-run program or adjust server.properties file to use alternate ports for server
[2024-03-24 10:29:24:385 ERROR] Port [19133] may be in use by another process. Free up port and re-run program or adjust server.properties file to use alternate ports for server
[2024-03-24 10:29:24:385 ERROR] Exiting program

According to socktat, the port is not in use, and changing the ports has no effect, so I guess bedrock server is using something to detect if the port is in use, or binding to it in a way that a jail doesn't allow.

I've seen posts about people having success running bedrock server in a chrooted ubuntu env on FreeBSD, so it looks like a problem with jails, not freebsd.
Any ideas what I can try to get it to work?
 
Back
Top