Port [19132] may be in use by another process
I am experiencing the same issue as a previous user who created BDS-18482 (unfortunately they didn't follow the correct format for submitting bugs and the ticket was closed).
They were also using an older version but I still see the same behaviour with the latest version (1.20.41).
Steps to Reproduce
Download 1.20.41 for Linux
Execute server
Observed Result
NO LOG FILE! - setting up server logging... [2023-11-27 16:54:54:834 INFO] Starting Server [2023-11-27 16:54:54:834 INFO] Version: 1.20.41.02 [2023-11-27 16:54:54:834 INFO] Session ID: 9536223b-1e2c-45d0-aed5-f48f5ead37dc [2023-11-27 16:54:54:834 INFO] Build ID: 19385779 [2023-11-27 16:54:54:834 INFO] Branch: r/20_u4 [2023-11-27 16:54:54:834 INFO] Commit ID: fb9e4a5f54462276397ac295c1afe7df03b900d6 [2023-11-27 16:54:54:834 INFO] Configuration: Publish [2023-11-27 16:54:54:835 INFO] Level Name: Bedrock level [2023-11-27 16:54:54:836 INFO] No CDN config file found for dedicated server [2023-11-27 16:54:54:836 INFO] Game mode: 0 Survival [2023-11-27 16:54:54:836 INFO] Difficulty: 1 EASY [2023-11-27 16:54:54:837 INFO] Content logging to console is enabled. [2023-11-27 16:54:55:270 INFO] Opening level 'worlds/Bedrock level/db' [2023-11-27 16:54:55:886 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-11-27 16:54:55:886 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-11-27 16:54:55:886 ERROR] Exiting program
Expected Result
Server starts and binds successfully to port 19132
Additional Details
The output from
lsof -I -P -n | grep LISTEN
is
systemd 1 root 86u IPv4 1214 0t0 TCP *:111 (LISTEN) systemd 1 root 95u IPv4 57739119 0t0 TCP *:9090 (LISTEN) systemd-r 948947 systemd-resolve 14u IPv4 57738395 0t0 TCP 127.0.0.53:53 (LISTEN) docker-pr 950718 root 4u IPv4 57746969 0t0 TCP *:9000 (LISTEN) docker-pr 950735 root 4u IPv4 57746986 0t0 TCP *:8000 (LISTEN) rpcbind 976801 _rpc 4u IPv4 1214 0t0 TCP *:111 (LISTEN) sshd 976839 root 3u IPv4 57772472 0t0 TCP *:22 (LISTEN) xrdp-sesm 976855 root 7u IPv4 57773783 0t0 TCP 127.0.0.1:3350 (LISTEN) xrdp 976873 xrdp 11u IPv4 57773834 0t0 TCP *:3389 (LISTEN) cupsd 977008 root 6u IPv4 57772774 0t0 TCP 127.0.0.1:631 (LISTEN) Plex\x20M 1924431 anthony 10u IPv4 89240391 0t0 TCP *:32400 (LISTEN) Plex\x20M 1924431 anthony 11u IPv4 89240393 0t0 TCP 127.0.0.1:32401 (LISTEN) Plex\x20S 1924458 anthony 7u IPv4 89238811 0t0 TCP 127.0.0.1:36653 (LISTEN) Plex\x20T 1924497 anthony 10u IPv4 89238815 0t0 TCP 127.0.0.1:32600 (LISTEN) docker-pr 3126516 root 4u IPv4 97003112 0t0 TCP *:18083 (LISTEN) docker-pr 3126530 root 4u IPv4 97005139 0t0 TCP *:1883 (LISTEN)
Environment
Linux Bedrock - Ubuntu 22.04.3 LTS
Comments5
History6
Changed description:
I am experiencing the same issue as a previous user who created https://bugs.mojang.com/browse/BDS-18482 (unfortunately they didn't follow the correct format for submitting bugs and the ticket was closed).
0They were also using an older version but I still see the same behaviour with the latest version (1.20.41).
00
Steps to Reproduce
0Download 1.20.41 for Linux
0Execute server
0Observed Result
0NO LOG FILE! - setting up server logging...0[2023-11-27 16:54:54:834 INFO] Starting Server0[2023-11-27 16:54:54:834 INFO] Version: 1.20.41.020[2023-11-27 16:54:54:834 INFO] Session ID: 9536223b-1e2c-45d0-aed5-f48f5ead37dc0[2023-11-27 16:54:54:834 INFO] Build ID: 193857790[2023-11-27 16:54:54:834 INFO] Branch: r/20_u40[2023-11-27 16:54:54:834 INFO] Commit ID: fb9e4a5f54462276397ac295c1afe7df03b900d60[2023-11-27 16:54:54:834 INFO] Configuration: Publish0[2023-11-27 16:54:54:835 INFO] Level Name: Bedrock level0[2023-11-27 16:54:54:836 INFO] No CDN config file found for dedicated server0[2023-11-27 16:54:54:836 INFO] Game mode: 0 Survival0[2023-11-27 16:54:54:836 INFO] Difficulty: 1 EASY0[2023-11-27 16:54:54:837 INFO] Content logging to console is enabled.0[2023-11-27 16:54:55:270 INFO] Opening level 'worlds/Bedrock level/db'0[2023-11-27 16:54:55:886 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 server0[2023-11-27 16:54:55:886 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 server0[2023-11-27 16:54:55:886 ERROR] Exiting program0000
Expected Result
0Server starts and binds successfully to port 19132
0Additional Details
0The output from
00lsof -I -P -n | grep LISTEN0
is
00systemd 1 root 86u IPv4 1214 0t0 TCP *:111 (LISTEN)0systemd 1 root 95u IPv4 57739119 0t0 TCP *:9090 (LISTEN)0systemd-r 948947 systemd-resolve 14u IPv4 57738395 0t0 TCP 127.0.0.53:53 (LISTEN)0docker-pr 950718 root 4u IPv4 57746969 0t0 TCP *:9000 (LISTEN)0docker-pr 950735 root 4u IPv4 57746986 0t0 TCP *:8000 (LISTEN)0rpcbind 976801 _rpc 4u IPv4 1214 0t0 TCP *:111 (LISTEN)0sshd 976839 root 3u IPv4 57772472 0t0 TCP *:22 (LISTEN)0xrdp-sesm 976855 root 7u IPv4 57773783 0t0 TCP 127.0.0.1:3350 (LISTEN)0xrdp 976873 xrdp 11u IPv4 57773834 0t0 TCP *:3389 (LISTEN)0cupsd 977008 root 6u IPv4 57772774 0t0 TCP 127.0.0.1:631 (LISTEN)0Plex\x20M 1924431 anthony 10u IPv4 89240391 0t0 TCP *:32400 (LISTEN)0Plex\x20M 1924431 anthony 11u IPv4 89240393 0t0 TCP 127.0.0.1:32401 (LISTEN)0Plex\x20S 1924458 anthony 7u IPv4 89238811 0t0 TCP 127.0.0.1:36653 (LISTEN)0Plex\x20T 1924497 anthony 10u IPv4 89238815 0t0 TCP 127.0.0.1:32600 (LISTEN)0docker-pr 3126516 root 4u IPv4 97003112 0t0 TCP *:18083 (LISTEN)0docker-pr 3126530 root 4u IPv4 97005139 0t0 TCP *:1883 (LISTEN)0
I am experiencing the same issue as a previous user who created BDS-18482
They were also using an older version but I still see the same behaviour with the latest version (1.20.41).
00
Steps to Reproduce
0Download 1.20.41 for Linux
0Execute server
0Observed Result
0NO LOG FILE! - setting up server logging...0[2023-11-27 16:54:54:834 INFO] Starting Server0[2023-11-27 16:54:54:834 INFO] Version: 1.20.41.020[2023-11-27 16:54:54:834 INFO] Session ID: 9536223b-1e2c-45d0-aed5-f48f5ead37dc0[2023-11-27 16:54:54:834 INFO] Build ID: 193857790[2023-11-27 16:54:54:834 INFO] Branch: r/20_u40[2023-11-27 16:54:54:834 INFO] Commit ID: fb9e4a5f54462276397ac295c1afe7df03b900d60[2023-11-27 16:54:54:834 INFO] Configuration: Publish0[2023-11-27 16:54:54:835 INFO] Level Name: Bedrock level0[2023-11-27 16:54:54:836 INFO] No CDN config file found for dedicated server0[2023-11-27 16:54:54:836 INFO] Game mode: 0 Survival0[2023-11-27 16:54:54:836 INFO] Difficulty: 1 EASY0[2023-11-27 16:54:54:837 INFO] Content logging to console is enabled.0[2023-11-27 16:54:55:270 INFO] Opening level 'worlds/Bedrock level/db'0[2023-11-27 16:54:55:886 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 server0[2023-11-27 16:54:55:886 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 server0[2023-11-27 16:54:55:886 ERROR] Exiting program0000
Expected Result
0Server starts and binds successfully to port 19132
0Additional Details
0The output from
00lsof -I -P -n | grep LISTEN0
is
00systemd 1 root 86u IPv4 1214 0t0 TCP *:111 (LISTEN)0systemd 1 root 95u IPv4 57739119 0t0 TCP *:9090 (LISTEN)0systemd-r 948947 systemd-resolve 14u IPv4 57738395 0t0 TCP 127.0.0.53:53 (LISTEN)0docker-pr 950718 root 4u IPv4 57746969 0t0 TCP *:9000 (LISTEN)0docker-pr 950735 root 4u IPv4 57746986 0t0 TCP *:8000 (LISTEN)0rpcbind 976801 _rpc 4u IPv4 1214 0t0 TCP *:111 (LISTEN)0sshd 976839 root 3u IPv4 57772472 0t0 TCP *:22 (LISTEN)0xrdp-sesm 976855 root 7u IPv4 57773783 0t0 TCP 127.0.0.1:3350 (LISTEN)0xrdp 976873 xrdp 11u IPv4 57773834 0t0 TCP *:3389 (LISTEN)0cupsd 977008 root 6u IPv4 57772774 0t0 TCP 127.0.0.1:631 (LISTEN)0Plex\x20M 1924431 anthony 10u IPv4 89240391 0t0 TCP *:32400 (LISTEN)0Plex\x20M 1924431 anthony 11u IPv4 89240393 0t0 TCP 127.0.0.1:32401 (LISTEN)0Plex\x20S 1924458 anthony 7u IPv4 89238811 0t0 TCP 127.0.0.1:36653 (LISTEN)0Plex\x20T 1924497 anthony 10u IPv4 89238815 0t0 TCP 127.0.0.1:32600 (LISTEN)0docker-pr 3126516 root 4u IPv4 97003112 0t0 TCP *:18083 (LISTEN)0docker-pr 3126530 root 4u IPv4 97005139 0t0 TCP *:1883 (LISTEN)0
Resolution: Unresolved → Awaiting Response
Resolution: Awaiting Response → Unresolved
Resolution: Unresolved → Awaiting Response
Resolution: Awaiting Response → Unresolved
Resolution: Unresolved → Incomplete
I am also experiencing the same issue with version 1.20.51.01. I have tried directly on the server as well as in a docker.
Have you tried to see if these commands would help you resolve the issue?
This should display user created process, if one exists:
This should display what uses this port:
This will automatically reopen when you reply.
Hello, thank you for your response.
I added the log from the `lsof` output to the original ticket and 19132 does not appear in there.
Can you please try to configure your server with different ports? You can do that by editing server.properties line: "server-port=19132" and "server-portv6=19133" be sure to turn off "enable-lan-visibility=true.
This 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