<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:23:04 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-2823] Network port occupied, can&apos;t start server</title>
                <link>https://bugs.mojang.com/browse/BDS-2823</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;Unable to launch BDS in windows 10. Version is listed as 1.14.1.4 though this bug report does not show that as a released version. I have confirmed that the default port is not being used by any other services. I have opened the port in windows firewall.&lt;/p&gt;

&lt;p&gt;After starting the .exe the following output is received:&lt;/p&gt;

&lt;p&gt;NO LOG FILE! - setting up server logging...&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Starting Server&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Version 1.14.1.4&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Session ID efefd3a0-36e5-4a10-bc1d-ed536e9f4079&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Level Name: Bedrock level&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Game mode: 0 Survival&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:11 INFO&amp;#93;&lt;/span&gt; Difficulty: 2 NORMAL&lt;br/&gt;
NO LOG FILE! - &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-01-17 11:11:13 ERROR&amp;#93;&lt;/span&gt; Network port occupied, can&apos;t start server.&lt;/p&gt;</description>
                <environment>Windows 10 Home version 1903 OS build 18362.592</environment>
        <key id="284710">BDS-2823</key>
            <summary>Network port occupied, can&apos;t start server</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Acyd69">Phillip Aaron Goettsch</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Jan 2020 18:19:59 +0100</created>
                <updated>Fri, 6 Mar 2020 03:18:55 +0100</updated>
                            <resolved>Thu, 5 Mar 2020 13:27:29 +0100</resolved>
                                    <version>1.14.0.9</version>
                                                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="643719" author="skwirl42" created="Fri, 6 Mar 2020 03:18:55 +0100"  >&lt;p&gt;@IonicEcko&#160;Removing the quotation marks does allow it to work. Thanks!&lt;/p&gt;</comment>
                            <comment id="643190" author="ionicecko" created="Thu, 5 Mar 2020 03:26:57 +0100"  >&lt;p&gt;Always good when its the simple stuff (but also not because you want to kick yourself).&lt;/p&gt;

&lt;p&gt;Happy Minecrafting!&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                            <comment id="643187" author="acyd69" created="Thu, 5 Mar 2020 03:24:02 +0100"  >&lt;p&gt;Holy smokes! Yes, it just needed to be run as admin. I don&apos;t have any specific accounts on the computer, so I rarely think about this. Thank you for the help. I bet it would have worked fine some time ago if I had just put the folder somewhere else. That&apos;s what I get for trying to be organized.&lt;/p&gt;</comment>
                            <comment id="643178" author="ionicecko" created="Thu, 5 Mar 2020 02:51:31 +0100"  >&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=skwirl42&quot; class=&quot;user-hover&quot; rel=&quot;skwirl42&quot;&gt;skwirl42&lt;/a&gt; you shouldn&apos;t be encasing your level name with inverted commas, does it work if you remove those?&lt;/p&gt;</comment>
                            <comment id="643177" author="ionicecko" created="Thu, 5 Mar 2020 02:46:44 +0100"  >&lt;p&gt;@Phillip - I noticed you&apos;re running the server from C:\Program Files (x86)\, have you confirmed that the user running the software has permission to create and modify files in that location without the need to elevate? The error in your screenshot appears to be a write error.&lt;/p&gt;

&lt;p&gt;Can you try right clicking bedrock_server.exe and clicking &quot;Run as Administrator&quot;&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                            <comment id="643173" author="skwirl42" created="Thu, 5 Mar 2020 02:37:25 +0100"  >&lt;p&gt;Did a bit more experimenting and it seems in 1.14.30.2 when I had double quotes in the level name setting it wouldn&apos;t start up. Seems it&apos;s not a fan of quoted strings, although I can&apos;t imagine why that would affect the network connection.&lt;/p&gt;

&lt;p&gt;With 1.14.32.1 I got the following output when I tried to put double quotes in the level name, so maybe this is happening in 1.14.30.2 and just isn&apos;t showing all the errors:&lt;/p&gt;

&lt;p&gt;NO LOG FILE! - setting up server logging...&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Starting Server&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Version 1.14.32.1&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Session ID 3ed5e3a9-f4ec-4a56-b63f-79a463349d98&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Level Name: &quot;Bedrock level&quot;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Game mode: 0 Survival&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; Difficulty: 1 EASY&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 INFO&amp;#93;&lt;/span&gt; opening worlds/&quot;Bedrock level&quot;/db&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 WARN&amp;#93;&lt;/span&gt; LevelDB worlds/&quot;Bedrock level&quot;/db status NOT OK(IO error: _wfopen_s failed to open file for: WriteTruncateCreateBinary(wb). ErrorCode: 22 - &apos;Invalid argument&apos;). Trying repair.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 ERROR&amp;#93;&lt;/span&gt; Failed to open LevelDB!&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 ERROR&amp;#93;&lt;/span&gt; IO error: _wfopen_s failed to open file for: WriteTruncateCreateBinary(wb). ErrorCode: 22 - &apos;Invalid argument&apos;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-03-04 21:35:41 ERROR&amp;#93;&lt;/span&gt; Network port occupied, can&apos;t start server.&lt;/p&gt;</comment>
                            <comment id="643160" author="skwirl42" created="Thu, 5 Mar 2020 01:45:42 +0100"  >&lt;p&gt;I commented out the entire server and level name lines from the file, not just my changes to those settings. I&apos;ve attached my server.properties file, if you want to give it a try.&lt;/p&gt;</comment>
                            <comment id="642825" author="acyd69" created="Wed, 4 Mar 2020 15:38:56 +0100"  >&lt;p&gt;James Dessart,&lt;/p&gt;

&lt;p&gt;Removing the names made no difference in my attempts. Thank you for the suggestion however. keeping my fingers crossed.&lt;/p&gt;</comment>
                            <comment id="642822" author="acyd69" created="Wed, 4 Mar 2020 15:37:40 +0100"  >&lt;p&gt;IonicEcko,&lt;/p&gt;

&lt;p&gt;I have not adjusted anything in windows at that level. I tried the new version for BDS, but continue to have issues. It is even generating some new problems, but I think those stem from not being able to make a connection. I have not tried 1.14.32.1 in safe mode yet, so I am not sure what you hope to gain from a copy of my directory as it is straight default from the download. I have attached it though. I also included a screen shot of the BDS window showing the errors.&lt;/p&gt;

&lt;p&gt;Here is a link to the zipped file in my dropbox:&#160;&lt;a href=&quot;https://www.dropbox.com/s/lv9wm3xi6nl34s8/BDS%201.14.32.1.zip?dl=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.dropbox.com/s/lv9wm3xi6nl34s8/BDS%201.14.32.1.zip?dl=0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="642787" author="ionicecko" created="Wed, 4 Mar 2020 13:14:26 +0100"  >&lt;p&gt;In that same vein, on your Windows machine do you have IPv6 disabled or anything not &quot;out of the box&quot; like that?&lt;/p&gt;

&lt;p&gt;Can you try 1.14.32.1 and see if the issue is still present.&lt;/p&gt;

&lt;p&gt;If so, can you zip the entire server directory and share it so I can chuck it on my WS2019 box that has my other servers and see how it behaves? I&apos;ve never experienced it not launch like this.&lt;/p&gt;</comment>
                            <comment id="641451" author="skwirl42" created="Sun, 1 Mar 2020 01:07:06 +0100"  >&lt;p&gt;An update, after reading some of the comments on &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-752&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://bugs.mojang.com/browse/BDS-752&lt;/a&gt;&#160;I tried removing the server and level name from my server.properties and suddenly it runs fine for me. Apart from not having a server name.&lt;/p&gt;</comment>
                            <comment id="641448" author="skwirl42" created="Sun, 1 Mar 2020 01:03:25 +0100"  >&lt;p&gt;I&apos;ve come across this issue, as well. I imagine it&apos;s the same Windows processes using it on my machine, but running in Safe Mode is not an option for me. I&apos;m attempting to run bedrock server version 1.14.30.2 with default network settings, on Windows 10 Home, Version 10.0.18362.&lt;/p&gt;

&lt;p&gt;I have a Java server running, so I tried running BDS without, but no luck.&lt;/p&gt;</comment>
                            <comment id="630974" author="acyd69" created="Sat, 8 Feb 2020 02:02:41 +0100"  >&lt;p&gt;I&#8217;d be happy to work with you on this. I am running complete defaults. I did notice that the problematic ports aren&#8217;t always the same number. For your information I encounter this issue on two separate machines.&lt;/p&gt;</comment>
                            <comment id="630947" author="ionicecko" created="Sat, 8 Feb 2020 00:04:15 +0100"  >&lt;p&gt;Hey Phillip,&lt;/p&gt;

&lt;p&gt;Are you using the default ports in the server.properties file or alternate ports? I have 3 servers (running on 19132, 19134 and 19136 IPv4) all on the same Windows box that haven&apos;t had any issues so it might help the devs if we can get some more information for them on your particular setup.&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                            <comment id="630919" author="acyd69" created="Fri, 7 Feb 2020 23:21:35 +0100"  >&lt;p&gt;Looks like the issue is continuing in 1.14.2.1. I am able to get BDS to run in safemode with networking enabled and have had a stable server running for more than a week.&#160;&lt;/p&gt;</comment>
                            <comment id="630564" author="ionicecko" created="Fri, 7 Feb 2020 05:22:42 +0100"  >&lt;p&gt;Hi Phillip,&lt;/p&gt;

&lt;p&gt;Are you still having this issue? I run numerous Bedrock servers on a Windows box and haven&apos;t seen this issue. Not to say it doesn&apos;t exist, just working out if it is environment specific for you or in some way random.&lt;/p&gt;</comment>
                            <comment id="626358" author="acyd69" created="Tue, 21 Jan 2020 16:59:28 +0100"  >&lt;p&gt;Update to my issue.&lt;/p&gt;

&lt;p&gt;After speaking about the problem on the Discord server, I attempted to load the BDS while in Windows Safe Mode with Networking. Doing resulted in expected execution of the program. I noted the following information while the BDS was active:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;BDS requires ports 49664 and 49665 for UDP besides the editable ports from the server.properties file.&lt;/li&gt;
	&lt;li&gt;The ports 49664 and 49665 are claimed by Windows Start-up Application (WinInit.exe) and Local Security Authority Process (lsass.exe). These two application are only using TCP.&lt;/li&gt;
	&lt;li&gt;During a normal start-up windows will not allow these ports to be used by BDS, but does allow it during Safe Mode start-up.&lt;/li&gt;
	&lt;li&gt;These applications cannot be terminated without shutting down Windows OS.&lt;/li&gt;
	&lt;li&gt;BDS does not allow for the use of different ports in this portion of the application.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="272090" name="server.properties" size="3723" author="skwirl42" created="Thu, 5 Mar 2020 01:45:16 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <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|i16zfz:</customfieldvalue>

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