{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "529979",
   "self": "https://bugs.mojang.com/rest/api/2/issue/529979",
   "key": "BDS-18213",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "4",
      "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": "2023-07-13T11:55:20.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18213/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2023-03-20T09:58:06.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "21406"
      ],
      "issuelinks": [
         {
            "id": "302917",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/302917",
            "type": "10101",
            "inwardIssue": "561833"
         }
      ],
      "assignee": null,
      "updated": "2024-06-25T00:25:16.000+0300",
      "status": "5",
      "description": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n{code:java}\r\n[2023-03-18 12:10:21:734 INFO] IPv4 supported, port: 20132: Used for gameplay{code}\r\n{code:java}\r\n[2023-03-18 12:10:22:336 INFO] IPv4 supported, port: 19132 used for LAN discovery {code}\r\n\u00a0\r\n\r\nThe expected behavior is to use the port from IPv4 from server.properties also for lan discovery instead of falling back to default.",
      "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": [],
      "summary": "LAN discovery ignores port settings",
      "creator": "JIRAUSER749612",
      "reporter": "JIRAUSER749612",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2ctav:",
      "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/529979/comment/1250156",
               "id": "1250156",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nDoes this issue occur only on Linux or it can be reproduced on Windows bedrock server?\r\n\r\nThis ticket will automatically reopen when you reply. ",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-04-12T13:17:02.988+0300",
               "updated": "2023-04-12T13:17:02.988+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/529979/comment/1268663",
               "id": "1268663",
               "author": "JIRAUSER484247",
               "body": "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|https://help.minecraft.net/hc/en-us/articles/4408887473421] which includes steps to reproduce the problem.\r\n\r\n{*}Quick Links{*}:\r\n\ud83d\udcd3 [Issue Guidelines|https://aka.ms/MCBugTrackerHelp] \u2013 \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new] \u2013 \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/] \u2013 \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki]",
               "updateAuthor": "JIRAUSER484247",
               "created": "2023-07-13T11:55:21.008+0300",
               "updated": "2023-07-13T11:55:21.008+0300"
            }
         ],
         "maxResults": 2,
         "total": 2,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18213/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 7,
      "total": 7,
      "histories": [
         {
            "id": "2771703",
            "author": "JIRAUSER749612",
            "created": "2023-03-20T09:59:17.886+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "If you set individual ports (e.g. 20132), the server will still us 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n\r\nThe expected behavior is to use the port form IPv4 from server.properties also for lan discovery instead of falling back to default.",
                  "to": null,
                  "toString": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n\r\nThe expected behavior is to use the port form IPv4 from server.properties also for lan discovery instead of falling back to default."
               }
            ]
         },
         {
            "id": "2771704",
            "author": "JIRAUSER749612",
            "created": "2023-03-20T10:00:49.059+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n\r\nThe expected behavior is to use the port form IPv4 from server.properties also for lan discovery instead of falling back to default.",
                  "to": null,
                  "toString": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n{code:java}\r\n[2023-03-18 12:10:21:734 INFO] IPv4 supported, port: 20132: Used for gameplay{code}\r\n{code:java}\r\n[2023-03-18 12:10:22:336 INFO] IPv4 supported, port: 19132 used for LAN discovery {code}\r\n\u00a0\r\n\r\nThe expected behavior is to use the port form IPv4 from server.properties also for lan discovery instead of falling back to default."
               }
            ]
         },
         {
            "id": "2771705",
            "author": "JIRAUSER749612",
            "created": "2023-03-20T10:01:02.392+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n{code:java}\r\n[2023-03-18 12:10:21:734 INFO] IPv4 supported, port: 20132: Used for gameplay{code}\r\n{code:java}\r\n[2023-03-18 12:10:22:336 INFO] IPv4 supported, port: 19132 used for LAN discovery {code}\r\n\u00a0\r\n\r\nThe expected behavior is to use the port form IPv4 from server.properties also for lan discovery instead of falling back to default.",
                  "to": null,
                  "toString": "If you set individual ports (e.g. 20132), the server will still use 19132 for lan discovery.\r\n\r\nThere 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.\r\n\r\n\u00a0\r\n{code:java}\r\n[2023-03-18 12:10:21:734 INFO] IPv4 supported, port: 20132: Used for gameplay{code}\r\n{code:java}\r\n[2023-03-18 12:10:22:336 INFO] IPv4 supported, port: 19132 used for LAN discovery {code}\r\n\u00a0\r\n\r\nThe expected behavior is to use the port from IPv4 from server.properties also for lan discovery instead of falling back to default."
               }
            ]
         },
         {
            "id": "2784332",
            "author": "JIRAUSER648376",
            "created": "2023-04-12T13:17:02.993+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2836453",
            "author": "JIRAUSER484247",
            "created": "2023-07-13T11:55:16.135+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2836454",
            "author": "JIRAUSER484247",
            "created": "2023-07-13T11:55:21.011+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "4",
                  "toString": "Incomplete"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "3024814",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:25:16.946+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-19399",
                  "toString": "This issue is cloned by BDS-19399"
               }
            ]
         }
      ]
   }
}