mojira.dev
BDS-18775

ERROR Ports may be in use by another process

Steps to Reproduce:

  1. Download bedrock-server-1.20.30.zip 

  2. unzip bedrock-server-1.20.30.zip

  3. sudo LD_LIBRARY_PATH=. ./bedrock_server

  4. Repeat steps 1-3 using latest version (1.20.31.01) and preview version (1.20.40.24) and get same observed results (ERROR ports may be in use)

Observed Results:

Screen output:

NO LOG FILE! - setting up server logging...
[2023-10-05 12:37:18:411 INFO] Starting Server
[2023-10-05 12:37:18:411 INFO] Version: 1.20.30
[2023-10-05 12:37:18:411 INFO] Session ID: 5eafa820-03d9-4ddf-9dd1-a4fddacef017
[2023-10-05 12:37:18:411 INFO] Build ID: 18258844
[2023-10-05 12:37:18:411 INFO] Branch: r/20_u3
[2023-10-05 12:37:18:411 INFO] Commit ID: ac4488fb62a797cb4fa23e49918006e331db5c08
[2023-10-05 12:37:18:411 INFO] Configuration: Publish
[2023-10-05 12:37:18:411 INFO] Level Name: Bedrock level
[2023-10-05 12:37:18:412 INFO] No CDN config file found for dedicated server
[2023-10-05 12:37:18:412 INFO] Game mode: 0 Survival
[2023-10-05 12:37:18:412 INFO] Difficulty: 1 EASY
[2023-10-05 12:37:18:413 INFO] Content logging to console is enabled.
[2023-10-05 12:37:18:736 INFO] Opening level 'worlds/Bedrock level/db'
[2023-10-05 12:37:19:452 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
[2023-10-05 12:37:19:452 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
[2023-10-05 12:37:19:452 ERROR] Exiting program

The following commands do not show port 19132 or 19133 in use by other processes:

sudo lsof -i -P -n
sudo netstat -tulpn

Tried setting different ports set in server.properties but get the same errors.

 

Expected Results:

Server starts as expected.

Comments 4

Hi

Can you please download BDS version 1.20.32 and verify if issue still occur? Iv attempted to reproduce this issue, but server started without errors. Do you know if it also occur on Windows BDS?

This ticket will automatically reopen when you reply.

I downloaded version 1.20.32.03 and got similar result of error with port conflict, with a segmentation fault at end (see red highlighted text).
 
NO LOG FILE! - setting up server logging...
[2023-10-15 17:07:33:544 INFO] Starting Server
[2023-10-15 17:07:33:544 INFO] Version: 1.20.32.03
[2023-10-15 17:07:33:544 INFO] Session ID: 145e943c-05ed-4fe1-a0b8-13aaa51d64cb
[2023-10-15 17:07:33:544 INFO] Build ID: 18622174
[2023-10-15 17:07:33:544 INFO] Branch: r/20_u3
[2023-10-15 17:07:33:544 INFO] Commit ID: 7f99df07199ace8bcf7aea7865177e4d7b2fba19
[2023-10-15 17:07:33:544 INFO] Configuration: Publish
[2023-10-15 17:07:33:545 INFO] Level Name: Bedrock level
[2023-10-15 17:07:33:546 INFO] No CDN config file found for dedicated server
[2023-10-15 17:07:33:546 INFO] Game mode: 0 Survival
[2023-10-15 17:07:33:546 INFO] Difficulty: 1 EASY
[2023-10-15 17:07:33:547 INFO] Content logging to console is enabled.
[2023-10-15 17:07:34:007 INFO] Opening level 'worlds/Bedrock level/db'
[2023-10-15 17:07:34:768 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
[2023-10-15 17:07:34:768 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
[2023-10-15 17:07:34:768 ERROR] Exiting program
Segmentation fault (core dumped)

Hi

Would it be possible for you to verify if this issue also occurs on Windows BDS?

This ticket will automatically reopen when you reply.

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

Charles B

(Unassigned)

Unconfirmed

Retrieved