{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "438373",
   "self": "https://bugs.mojang.com/rest/api/2/issue/438373",
   "key": "BDS-13252",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": null,
      "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": null,
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-13252/watchers",
         "watchCount": 4,
         "isWatching": false
      },
      "created": "2021-05-17T20:43:19.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [
         "crash",
         "server"
      ],
      "customfield_11700": "{}",
      "versions": [
         "20217",
         "19915",
         "20204",
         "21534"
      ],
      "issuelinks": [
         {
            "id": "287823",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/287823",
            "type": "10102",
            "inwardIssue": "540847"
         }
      ],
      "assignee": null,
      "updated": "2023-08-24T17:48:50.000+0300",
      "status": "4",
      "description": "*Summary*\r\n When starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\n*Steps to reproduce...*\r\n # Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n # While the other server is running, start the dedicated server\r\n # Issue happens as it tries to open the port\r\n\r\n*What I expected to happen...*\r\n Normally the server outputs the following:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nSince this wouldn't be true though, a message of some sort should appear.\r\n A potential message could be \"The port [port number] cannot be used. Please make sure no other software is currently using the port.\"\r\n\r\n*What actually happened...*\r\n The server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stops running without any more cues as to what the issue may be.\r\n *Notes...*\r\n* The server could potentially ask for a new port, or ask if the user wants to use the default port if the current port is not the default 19132 port.\r\n* I have experienced this issue on Windows, and am currently unsure if Linux is affected. ",
      "customfield_11100": 1.0,
      "customfield_11300": null,
      "customfield_11500": "603657",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Silent Fail if port is already in use",
      "creator": "JIRAUSER643907",
      "reporter": "JIRAUSER643907",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1x8n3:",
      "environment": "Windows 10 ",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/438373/comment/997803",
               "id": "997803",
               "author": "JIRAUSER643907",
               "body": "I updated this to include a few ideas and to reformat the description with a more readable format.",
               "updateAuthor": "JIRAUSER643907",
               "created": "2021-05-23T03:38:42.340+0300",
               "updated": "2021-05-23T03:38:42.340+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/438373/comment/1027724",
               "id": "1027724",
               "author": "JIRAUSER484247",
               "body": "Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).\r\nThis ticket will automatically reopen when you reply.",
               "updateAuthor": "JIRAUSER484247",
               "created": "2021-07-01T15:22:50.212+0300",
               "updated": "2021-07-01T15:22:50.212+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/438373/comment/1028149",
               "id": "1028149",
               "author": "JIRAUSER643907",
               "body": "This bug still exists in the latest version.",
               "updateAuthor": "JIRAUSER643907",
               "created": "2021-07-02T08:53:56.238+0300",
               "updated": "2021-07-02T08:53:56.238+0300"
            }
         ],
         "maxResults": 3,
         "total": 3,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-13252/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 14,
      "total": 14,
      "histories": [
         {
            "id": "2176172",
            "author": "arisabot",
            "created": "2021-05-18T20:43:29.799+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "0"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2176444",
            "author": "JIRAUSER643907",
            "created": "2021-05-19T02:05:14.046+0300",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "crash server"
               }
            ]
         },
         {
            "id": "2185683",
            "author": "JIRAUSER643907",
            "created": "2021-05-23T03:30:54.353+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "When starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\nNormally it would output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nBut will instead output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stop running without any more cues as to what the issue may be.\r\n\r\n\u00a0\r\n\r\nThis is an issue on the Windows version, I haven't tested the Unix version yet.",
                  "to": null,
                  "toString": "Summary\r\nWhen starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\nSteps to reproduce...\r\n# Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n# While the other server is running, start the dedicated server\r\n# Issue happens as it tries to open the port\r\n\r\nWhat actually happened...\r\nThe server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nAnd then stop running without any more cues as to what the issue may be.\r\n\r\nWhat should happen...\r\n\r\nNotes...\r\nOn Java the global cap scales with the number of loaded chunks. This means the more players online, the higher the cap.\r\nWhile mob farms (eg chicken cookers) with tens/hundreds of mobs could be considered overkill they are also part of the sandbox. With no indication you've gone over this invisible cap many don't understand why nothing is spawning for them.\r\nOn larger servers there's very little admins can do to prevent hitting the cap. Just general play by everyone online, without massive farms, will fill the cap.\r\n\r\n----\r\n\r\nWhen starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\nNormally it would output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nBut will instead output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stop running without any more cues as to what the issue may be.\r\n\r\n\u00a0\r\n\r\nThis is an issue on the Windows version, I haven't tested the Unix version yet."
               }
            ]
         },
         {
            "id": "2185684",
            "author": "JIRAUSER643907",
            "created": "2021-05-23T03:36:45.024+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Summary\r\nWhen starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\nSteps to reproduce...\r\n# Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n# While the other server is running, start the dedicated server\r\n# Issue happens as it tries to open the port\r\n\r\nWhat actually happened...\r\nThe server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nAnd then stop running without any more cues as to what the issue may be.\r\n\r\nWhat should happen...\r\n\r\nNotes...\r\nOn Java the global cap scales with the number of loaded chunks. This means the more players online, the higher the cap.\r\nWhile mob farms (eg chicken cookers) with tens/hundreds of mobs could be considered overkill they are also part of the sandbox. With no indication you've gone over this invisible cap many don't understand why nothing is spawning for them.\r\nOn larger servers there's very little admins can do to prevent hitting the cap. Just general play by everyone online, without massive farms, will fill the cap.\r\n\r\n----\r\n\r\nWhen starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\nNormally it would output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nBut will instead output:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stop running without any more cues as to what the issue may be.\r\n\r\n\u00a0\r\n\r\nThis is an issue on the Windows version, I haven't tested the Unix version yet.",
                  "to": null,
                  "toString": "*Summary*\r\n When starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\n*Steps to reproduce...*\r\n # Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n # While the other server is running, start the dedicated server\r\n # Issue happens as it tries to open the port\r\n\r\n*What I expected to happen...*\r\n Normally the server outputs the following:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nSince this wouldn't be true though, a message of some sort should appear.\r\n A potential message could be \"The port [port number] cannot be used. Please make sure no other software is currently using the port.\"\r\n\r\n*What actually happened...*\r\n The server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stops running without any more cues as to what the issue may be.\r\n *Notes...*\r\n* I have experienced this issue on Windows, and am currently unsure if Linux is affected. "
               }
            ]
         },
         {
            "id": "2185685",
            "author": "JIRAUSER643907",
            "created": "2021-05-23T03:37:47.943+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "*Summary*\r\n When starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\n*Steps to reproduce...*\r\n # Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n # While the other server is running, start the dedicated server\r\n # Issue happens as it tries to open the port\r\n\r\n*What I expected to happen...*\r\n Normally the server outputs the following:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nSince this wouldn't be true though, a message of some sort should appear.\r\n A potential message could be \"The port [port number] cannot be used. Please make sure no other software is currently using the port.\"\r\n\r\n*What actually happened...*\r\n The server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stops running without any more cues as to what the issue may be.\r\n *Notes...*\r\n* I have experienced this issue on Windows, and am currently unsure if Linux is affected. ",
                  "to": null,
                  "toString": "*Summary*\r\n When starting the server, if a port the server tries to use (IE. 19132) is already taken by another program it silently fails. This effects the current version as well as previous versions of the server software.\r\n\r\n*Steps to reproduce...*\r\n # Run a server using the Dedicated Server or an unofficial server software using the default 19132 port\r\n # While the other server is running, start the dedicated server\r\n # Issue happens as it tries to open the port\r\n\r\n*What I expected to happen...*\r\n Normally the server outputs the following:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n{code}\r\nSince this wouldn't be true though, a message of some sort should appear.\r\n A potential message could be \"The port [port number] cannot be used. Please make sure no other software is currently using the port.\"\r\n\r\n*What actually happened...*\r\n The server outputs:\r\n{code:java}\r\n[INFO] IPv4 supported, port: 0\r\n[INFO] IPv6 supported, port: 0\r\n{code}\r\nAnd then stops running without any more cues as to what the issue may be.\r\n *Notes...*\r\n* The server could potentially ask for a new port, or ask if the user wants to use the default port if the current port is not the default 19132 port.\r\n* I have experienced this issue on Windows, and am currently unsure if Linux is affected. "
               }
            ]
         },
         {
            "id": "2185686",
            "author": "JIRAUSER643907",
            "created": "2021-05-23T03:39:31.637+0300",
            "items": [
               {
                  "field": "summary",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Silent Fail if port is taken",
                  "to": null,
                  "toString": "Silent Fail if port is already in use"
               }
            ]
         },
         {
            "id": "2259955",
            "author": "JIRAUSER484247",
            "created": "2021-07-01T15:22:50.215+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": "2261250",
            "author": "JIRAUSER643907",
            "created": "2021-07-02T08:53:28.723+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "20204",
                  "toString": "1.17.2"
               }
            ]
         },
         {
            "id": "2261251",
            "author": "arisabot",
            "created": "2021-07-02T08:53:37.022+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": "2301043",
            "author": "JIRAUSER643907",
            "created": "2021-07-25T04:42:42.022+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "20217",
                  "toString": "1.17.10"
               }
            ]
         },
         {
            "id": "2346977",
            "author": "JIRAUSER648376",
            "created": "2021-09-01T18:01:03.949+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "603657"
               },
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": "10300",
                  "fromString": "Unconfirmed",
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2855514",
            "author": "JIRAUSER648376",
            "created": "2023-08-22T16:44:58.770+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-18641",
                  "toString": "This issue is duplicated by BDS-18641"
               }
            ]
         },
         {
            "id": "2855516",
            "author": "arisabot",
            "created": "2023-08-22T16:45:04.476+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "21534",
                  "toString": "1.20.12 Hotfix"
               }
            ]
         },
         {
            "id": "2857351",
            "author": "arisabot",
            "created": "2023-08-24T17:48:50.094+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "0",
                  "to": null,
                  "toString": "1"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         }
      ]
   }
}