<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:02:28 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-13252] Silent Fail if port is already in use</title>
                <link>https://bugs.mojang.com/browse/BDS-13252</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;br/&gt;
 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.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce...&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Run a server using the Dedicated Server or an unofficial server software using the default 19132 port&lt;/li&gt;
	&lt;li&gt;While the other server is running, start the dedicated server&lt;/li&gt;
	&lt;li&gt;Issue happens as it tries to open the port&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;What I expected to happen...&lt;/b&gt;&lt;br/&gt;
 Normally the server outputs the following:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Since this wouldn&apos;t be true though, a message of some sort should appear.&lt;br/&gt;
 A potential message could be &quot;The port &lt;span class=&quot;error&quot;&gt;&amp;#91;port number&amp;#93;&lt;/span&gt; cannot be used. Please make sure no other software is currently using the port.&quot;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened...&lt;/b&gt;&lt;br/&gt;
 The server outputs:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[INFO] IPv4 supported, port: 0
[INFO] IPv6 supported, port: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And then stops running without any more cues as to what the issue may be.&lt;br/&gt;
 &lt;b&gt;Notes...&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;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.&lt;/li&gt;
	&lt;li&gt;I have experienced this issue on Windows, and am currently unsure if Linux is affected.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Windows 10 </environment>
        <key id="438373">BDS-13252</key>
            <summary>Silent Fail if port is already in use</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="4" iconUrl="https://bugs.mojang.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="TheShadowEevee">Michael Malloy</reporter>
                        <labels>
                            <label>crash</label>
                            <label>server</label>
                    </labels>
                <created>Mon, 17 May 2021 19:43:19 +0200</created>
                <updated>Thu, 24 Aug 2023 16:48:50 +0200</updated>
                                            <version>1.17.10</version>
                    <version>1.16.220</version>
                    <version>1.17.2</version>
                    <version>1.20.12 Hotfix</version>
                                                            <votes>2</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="1028149" author="JIRAUSER643907" created="Fri, 2 Jul 2021 07:53:56 +0200"  >&lt;p&gt;This bug still exists in the latest version.&lt;/p&gt;</comment>
                            <comment id="1027724" author="JIRAUSER484247" created="Thu, 1 Jul 2021 14:22:50 +0200"  >&lt;p&gt;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).&lt;br/&gt;
This ticket will automatically reopen when you reply.&lt;/p&gt;</comment>
                            <comment id="997803" author="JIRAUSER643907" created="Sun, 23 May 2021 02:38:42 +0200"  >&lt;p&gt;I updated this to include a few ideas and to reformat the description with a more readable format.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="540847">BDS-18641</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>603657</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i1x8n3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>