{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "260680",
   "self": "https://bugs.mojang.com/rest/api/2/issue/260680",
   "key": "BDS-1458",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "2",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10303",
         "value": "Confirmed",
         "id": "10303",
         "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-01-04T19:30:56.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1458/watchers",
         "watchCount": 5,
         "isWatching": false
      },
      "created": "2019-09-18T15:02:27.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [
         "feature-check"
      ],
      "customfield_11700": "{}",
      "versions": [
         "17513",
         "19001"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2024-01-04T22:02:43.000+0200",
      "status": "5",
      "description": "Bedrock Server forces to use different port nubers for ipv4 (19132) and ipv6 (19133). This can lead to connection problems.\n\nExample 1: A connection to [ipv6-address]:19132 will always fail\n\nExample 2: A connection to [ipv4-address]:19133 will always fail\n\n\u00a0\n\nExample Setup:\nIn my setup I use the domain example.com which resolves to the ipv4 AND the ipv6 address of my Server. In this setup every client can choose which protocol to use.\nIf trying to connect to example.com:19132 the connection will only succeed if the client chooses to use ipv4. Vice Versa for Port 19133.\n\nSo the client-side user needs to know which port to use, which is a difficult Task for a normal user.\n\n\nPossible Solution:\nAllow to use the same port number for ipv4 and ipv6 (as in java edition)",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": "384882",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "BDS forces different ports for ipv4 and ipv6",
      "creator": "nicoru",
      "reporter": "nicoru",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i12vnb:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/260680/comment/736760",
               "id": "736760",
               "author": "ionicecko",
               "body": "I don't believe this is possible due to the use of UDP rather than TCP but could be completely wrong.",
               "updateAuthor": "ionicecko",
               "created": "2020-06-21T05:55:53.892+0300",
               "updated": "2020-06-21T05:55:53.892+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/260680/comment/737484",
               "id": "737484",
               "author": "timriker",
               "body": "DNS uses port 53 on both tcp and udp for both IPv4 and IPv6 on Windows and Posix platforms.\r\n\r\nIn short, yes. it's very possible with tcp and/or udp.",
               "updateAuthor": "timriker",
               "created": "2020-06-22T07:17:01.823+0300",
               "updated": "2020-06-22T07:17:01.823+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/260680/comment/910434",
               "id": "910434",
               "author": "JIRAUSER603871",
               "body": "Yes in my opinion it's crazy to have separate ports for v4 and v6 for exactly the reason the OP describes. The only way around it is to have separate DNS records like v4.example.com resolving to the v4 address and v6.example.com resolving to the v6 address. Nobody does this it's insane. Please try to just have the server run one one port.",
               "updateAuthor": "JIRAUSER603871",
               "created": "2021-02-02T19:15:48.919+0200",
               "updated": "2021-02-02T19:15:48.919+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/260680/comment/911262",
               "id": "911262",
               "author": "nicoru",
               "body": "UDPv4 and UDPv6 are technically different protocols. There are no \"shared ports\" beetwen this two protcols. But the whole idea behind dual stack is to use the same port number for the same application to hide the actual\u00a0used protocol from the user.\r\n\r\nSo let the client-software decide which protocol to use and not the user.\r\n\r\n\u00a0\r\n\r\nAnother possible workarround would be to NAT the UDPv6 port to the UDPv4 port number or vice versa. But this tends to be\u00a0more difficult to setup than differnt dns records and a waste of ressources for the NAT.",
               "updateAuthor": "nicoru",
               "created": "2021-02-03T20:51:20.082+0200",
               "updated": "2021-02-03T20:51:20.082+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/260680/comment/1298360",
               "id": "1298360",
               "author": "timriker",
               "body": "Closed as Won't Fix? This should be a simple fix. There could even be a command line option to specify the ports and allow the user to decide to pick the same ports.\r\n\r\nPlease reconsider fixing this.",
               "updateAuthor": "timriker",
               "created": "2024-01-04T22:02:43.316+0200",
               "updated": "2024-01-04T22:02:43.316+0200"
            }
         ],
         "maxResults": 5,
         "total": 5,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1458/votes",
         "votes": 6,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 5,
      "total": 5,
      "histories": [
         {
            "id": "1455951",
            "author": "ionicecko",
            "created": "2020-03-04T14:06:45.731+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "feature-check"
               }
            ]
         },
         {
            "id": "1455952",
            "author": "ionicecko",
            "created": "2020-03-04T14:06:55.869+0200",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "19001",
                  "toString": "1.14.32.1"
               }
            ]
         },
         {
            "id": "1665964",
            "author": "ionicecko",
            "created": "2020-06-21T05:56:07.264+0300",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1723413",
            "author": "mega_spud",
            "created": "2020-07-17T13:04:03.538+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "384882"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2919559",
            "author": "greymagic27",
            "created": "2024-01-04T19:30:56.310+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "2",
                  "toString": "Won't Fix"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}