[BDS-18213] LAN discovery ignores port settings Created: 20/Mar/23  Updated: 24/Jun/24  Resolved: 13/Jul/23

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

Type: Bug
Reporter: McFCologne Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Environment:

Linux / docker


Issue Links:
Cloners
is cloned by BDS-19399 LAN discovery does not adhere to port... Resolved
Confirmation Status: Unconfirmed

 Description   

If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.

There are multiple work arounds out there. e.g.: not to start the server until the server.properties was modified for the 1st time. This works until you update (in my case from 1.19.70 to 1.19.71), now it is again using 19132 for lan discovery.

 

[2023-03-18 12:10:21:734 INFO] IPv4 supported, port: 20132: Used for gameplay
[2023-03-18 12:10:22:336 INFO] IPv4 supported, port: 19132 used for LAN discovery 

 

The expected behavior is to use the port from IPv4 from server.properties also for lan discovery instead of falling back to default.



 Comments   
Comment by [MCQA] Kinga Izdebska [ 13/Jul/23 ]

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 Maciej Piornik [ 12/Apr/23 ]

Hi

Does this issue occur only on Linux or it can be reproduced on Windows bedrock server?

This ticket will automatically reopen when you reply.

Generated at Sat Jan 11 08:20:58 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.