<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:29:56 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-4620] Server listens on more than 2 ports when server.properties is configured to use non-default ports.</title>
                <link>https://bugs.mojang.com/browse/BDS-4620</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;I noticed an issue with the BDS when I was trying to run multiple instances on the same machine. Essentially, if you use the default ports, everything is better, however, if you change the server.properties to listen to any ports other than the defaults, it will listen to 4 ports, the 2 default ones and the 2 configured ones:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;For example - Server configured to listen to non-default ports 19134 and 19135&lt;/p&gt;

&lt;p&gt;server.properties snippet&lt;/p&gt;

&lt;p&gt;&#160;&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;
server-port=19134
server-portv6=19135&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;log shows&lt;/p&gt;

&lt;p&gt;&#160;&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;
[2020-04-23 14:30:53 INFO] Starting Server
[2020-04-23 14:30:53 INFO] Version 1.14.60.5
[2020-04-23 14:30:53 INFO] Session ID 22bfa959-ee90-4c41-9c95-9a3516040217
[2020-04-23 14:30:53 INFO] Level Name: DimitrovLand
[2020-04-23 14:30:53 INFO] Game mode: 0 Survival
[2020-04-23 14:30:53 INFO] Difficulty: 1 EASY
[2020-04-23 14:30:53 INFO] Content logging enabled. Writing log to: ContentLog__Thursday__2020_April_23__14_30_53
[2020-04-23 14:30:53 INFO] opening worlds/DimitrovLand/db
[2020-04-23 14:30:55 INFO] IPv4 supported, port: 19134
[2020-04-23 14:30:55 INFO] IPv6 supported, port: 19135
[2020-04-23 14:30:55 INFO] IPv4 supported, port: 19132
[2020-04-23 14:30:55 INFO] IPv6 supported, port: 19133&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;netstat confirms that the two default ports AND the two configured ports are being opened&lt;/p&gt;

&lt;p&gt;&#160;&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;
/minecraft-bedrock# netstat -tulpna | grep 191
udp 0 0 0.0.0.0:19132 0.0.0.0:* 6142/bedrock_server
udp 0 0 0.0.0.0:19134 0.0.0.0:* 6142/bedrock_server
udp6 0 0 :::19133 :::* 6142/bedrock_server
udp6 0 0 :::19135 :::* 6142/bedrock_server&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Now, if I change it to the defaults I get the following:&lt;/p&gt;

&lt;p&gt;&#160;&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;
[2020-04-23 14:39:43 INFO] opening worlds/DimitrovLand/db
[2020-04-23 14:39:45 INFO] IPv4 supported, port: 19131
[2020-04-23 14:39:45 INFO] IPv6 supported, port: 19132
[2020-04-23 14:39:45 INFO] IPv4 supported, port: 51917
[2020-04-23 14:39:45 INFO] IPv6 supported, port: 49167
[2020-04-23 14:39:46 INFO] Server started.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;While it shows 2 extra ports in logs, it&apos;s only listening to one extra random IPv4 port&lt;/p&gt;

&lt;p&gt;&#160;&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;
/minecraft-bedrock# netstat -tulpna | grep 191
udp 0 0 0.0.0.0:19131 0.0.0.0:* 13508/bedrock_serve
udp 0 0 0.0.0.0:51917 0.0.0.0:* 13508/bedrock_serve
udp6 0 0 :::19132 :::* 13508/bedrock_serve&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>DISTRIB_ID=Ubuntu&lt;br/&gt;
DISTRIB_RELEASE=18.04&lt;br/&gt;
DISTRIB_CODENAME=bionic&lt;br/&gt;
DISTRIB_DESCRIPTION=&amp;quot;Ubuntu 18.04.4 LTS&amp;quot;</environment>
        <key id="311720">BDS-4620</key>
            <summary>Server listens on more than 2 ports when server.properties is configured to use non-default ports.</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jimok82">James S Dimitrov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Apr 2020 21:45:25 +0200</created>
                <updated>Sun, 21 Jun 2020 04:37:05 +0200</updated>
                            <resolved>Sun, 21 Jun 2020 04:37:05 +0200</resolved>
                                    <version>1.14.60</version>
                                                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="736752" author="ionicecko" created="Sun, 21 Jun 2020 04:37:05 +0200"  >&lt;p&gt;We&apos;re tracking this issue as &lt;b&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/BDS-1094&quot; title=&quot;Additional IPv4 and IPv6 port opening upon starting server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-1094&quot;&gt;&lt;del&gt;BDS-1094&lt;/del&gt;&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-3989&quot; title=&quot;Default server port is used even if another port is defined&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-3989&quot;&gt;&lt;del&gt;BDS-3989&lt;/del&gt;&lt;/a&gt;&lt;/b&gt;, so this ticket is being resolved and linked as a &lt;b&gt;duplicate&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Please note though, you have raised this report under the wrong project, this project is for the Bedrock Dedicated Server software only. For bug reports related to Minecraft Bedrock please head over to the &lt;a href=&quot;https://bugs.mojang.com/projects/MCPE/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Minecraft (Bedrock codebase) project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you aren&apos;t already, please don&apos;t forget to use the &lt;a href=&quot;https://bugs.mojang.com/issues/?jql=project=MCPE&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;&lt;ins&gt;search feature&lt;/ins&gt;&lt;/b&gt;&lt;/a&gt;, the less time volunteers spend linking duplicates the more time we have to update new reports.&lt;/p&gt;

&lt;p&gt;Voting on an existing report has a greater impact on getting the bugs most important to you fixed!&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://discord.gg/58Sxm23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Customer Support&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.gamepedia.com/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="249803">BDS-1094</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="254365">BDS-3989</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i1bkpb:</customfieldvalue>

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