{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "561833",
   "self": "https://bugs.mojang.com/rest/api/2/issue/561833",
   "key": "BDS-19399",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "6",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2024-06-25T00:29:02.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-19399/watchers",
         "watchCount": 1,
         "isWatching": false
      },
      "created": "2024-06-23T10:14:31.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "22412"
      ],
      "issuelinks": [
         {
            "id": "302917",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/302917",
            "type": "10101",
            "outwardIssue": "529979"
         }
      ],
      "assignee": null,
      "updated": "2024-06-25T00:36:56.000+0300",
      "status": "5",
      "description": "If I set a separate port (e.g., 19199), the server still uses 19132 for LAN discovery.\r\n\r\nThere is a workaround, such as not starting the server before modifying the server.properties file for the first time. This method works temporarily until I update the server (in my case, from 1.20.73 to 1.20.80), after which it starts using 19132 for LAN discovery again.\r\n\r\n[2024-06-23 14:34:38:507 INFO] IPv4 supported, port: 19199: Used for gameplay\r\n[2024-06-23 14:34:38:544 INFO] IPv4 supported, port: 19132 used for LAN discovery\r\n\r\nI am using the Linux version of the Bedrock server. The expected behavior is to use the IPv4 port set in server.properties for LAN discovery, rather than falling back to the default 19132 port.",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "578086"
      ],
      "summary": "LAN discovery does not adhere to port configurations.",
      "creator": "JIRAUSER784069",
      "reporter": "JIRAUSER784069",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2i65r:",
      "environment": "Linux / docker",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/561833/comment/1334351",
               "id": "1334351",
               "author": "jarl-penguin",
               "body": "*Thank you for your report!*\r\nHowever, this issue is {color:#FF5722}*Working as Intended*{color}.\r\n\r\nThe report you have submitted is working as intended: see server.properties.\r\n{quote}enable-lan-visibility=<value>\r\n\\# Listen and respond to clients that are looking for servers on the LAN. This will cause the server\r\n\\# to bind to the default ports (19132, 19133) even when `server-port` and `server-portv6`\r\n\\# have non-default values.{quote}\r\n\r\nPlease note, that mechanics of the game may change between updates.\r\nThings such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.\r\n\r\n[Full Version History|https://minecraft.wiki/w/Bedrock_Dedicated_Server#History] -- [Feature Requests and Suggestions|https://feedback.minecraft.net]\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3 [Bug Tracker Guidelines|https://aka.ms/MCBugTrackerHelp] -- \ud83d\udcac [Community Support|https://discord.com/invite/58Sxm23] -- \ud83d\udce7 [Mojang Support (Technical Issues)|https://aka.ms/Minecraft-Support] -- \ud83d\udce7 [Microsoft Support (Account Issues)|https://support.xbox.com/contact-us/]\r\n\ud83d\udcd3 [Project Summary|https://bugs.mojang.com/projects/BDS/summary] -- \u270d\ufe0f [Feedback and Suggestions|https://aka.ms/MinecraftFeedbackDiscord] -- \ud83d\udcd6 [Game Wiki|https://minecraft.wiki/w/Minecraft_Wiki]",
               "updateAuthor": "jarl-penguin",
               "created": "2024-06-25T00:29:02.041+0300",
               "updated": "2024-06-25T00:36:56.392+0300"
            }
         ],
         "maxResults": 1,
         "total": 1,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-19399/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 3,
      "total": 3,
      "histories": [
         {
            "id": "3024813",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:25:16.940+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-18213",
                  "toString": "This issue clones BDS-18213"
               }
            ]
         },
         {
            "id": "3024815",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:25:16.952+0300",
            "items": [
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "3024817",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:29:02.045+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "6",
                  "toString": "Works As Intended"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}