<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SFTPGo or MiroTalk SFU not starting because they use ephemeral ports]]></title><description><![CDATA[<p dir="auto">This morning I needed to perform a security update reboot and after that SFTPGo doesn't start.</p>
<pre><code>Docker Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint 98d1b4c0-********-729c3077a061 (cec35e817f384c6cd2***1608926aff5ce2d176a64da69d4f): failed to bind port 0.0.0.0:41090/tcp: listen tcp4 0.0.0.0:41090: bind: address already in use
</code></pre>
<p dir="auto">I tried to restart the task many many times (MiroTalk also has sometimes this issue), tried to restore a backup, etc. etc. .... it doesn't start.</p>
<p dir="auto">Is there somehow a way to force this? My use of SFTPGo is critical as it is a central backup location for many "IOT appliances".</p>
]]></description><link>https://forum.cloudron.io/topic/14259/sftpgo-or-mirotalk-sfu-not-starting-because-they-use-ephemeral-ports</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 19:20:39 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14259.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Sep 2025 07:45:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Thu, 25 Sep 2025 07:02:58 GMT]]></title><description><![CDATA[<p dir="auto">FWIW, I can confirm that on Hetzner/Ubuntu this is the default range.</p>
]]></description><link>https://forum.cloudron.io/post/112961</link><guid isPermaLink="true">https://forum.cloudron.io/post/112961</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 25 Sep 2025 07:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Thu, 25 Sep 2025 03:20:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> "32768-60999 range" is not the entire valid range for linux, so I would guess it was a configuration default instead.</p>
<p dir="auto">Hence the tightening request.</p>
]]></description><link>https://forum.cloudron.io/post/112951</link><guid isPermaLink="true">https://forum.cloudron.io/post/112951</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 25 Sep 2025 03:20:48 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Wed, 24 Sep 2025 05:57:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> I think the port range comes part of linux/ubuntu setup . I also don't completely know the side effects of making it tighter.</p>
]]></description><link>https://forum.cloudron.io/post/112924</link><guid isPermaLink="true">https://forum.cloudron.io/post/112924</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 24 Sep 2025 05:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Fri, 19 Sep 2025 06:20:17 GMT]]></title><description><![CDATA[<p dir="auto">Can you also shrink the ephemeral port range to something tighter <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> ?</p>
]]></description><link>https://forum.cloudron.io/post/112830</link><guid isPermaLink="true">https://forum.cloudron.io/post/112830</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 19 Sep 2025 06:20:17 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Tue, 09 Sep 2025 09:17:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/112533">Server security update reboot: SFTPGo doesn't start</a>:</p>
<blockquote>
<p dir="auto">A package cannot change the port ranges (just like it cannot change the installated domain names) . But for new installation, it will recommend 20000 instead</p>
</blockquote>
<p dir="auto">Maybe you can explicitly mention in the update notes the default / advised ports? Existing installs will not be moved to the "new" ports and thus keep having issues?</p>
]]></description><link>https://forum.cloudron.io/post/112535</link><guid isPermaLink="true">https://forum.cloudron.io/post/112535</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 09 Sep 2025 09:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Tue, 09 Sep 2025 08:56:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> max port is 65535 so it can't be 70000 . A package cannot change the port ranges (just like it cannot change the installated domain names) . But for new installation, it will recommend 20000 instead . I have also fixed up the sfu package, will be published shortly .</p>
]]></description><link>https://forum.cloudron.io/post/112533</link><guid isPermaLink="true">https://forum.cloudron.io/post/112533</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 09 Sep 2025 08:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Tue, 09 Sep 2025 08:50:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: James">@<bdi>James</bdi></a> I just updated SFTPGo to 1.1.0, don't see differences, portrange is still 41000 but I also can't change it to ie. 70000, the field becomes RED.</p>
<p dir="auto">EDIT: I can change it to 61000</p>
]]></description><link>https://forum.cloudron.io/post/112532</link><guid isPermaLink="true">https://forum.cloudron.io/post/112532</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 09 Sep 2025 08:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Tue, 09 Sep 2025 08:32:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> good founds! It's also the same issue with MiroTalk (what I know of and experienced) but maybe more apps?</p>
<p dir="auto"><a href="https://forum.cloudron.io/search?term=bind%3A%20address%20already%20in%20use&amp;in=titlesposts">https://forum.cloudron.io/search?term=bind%3A address already in use&amp;in=titlesposts</a></p>
]]></description><link>https://forum.cloudron.io/post/112530</link><guid isPermaLink="true">https://forum.cloudron.io/post/112530</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 09 Sep 2025 08:32:24 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Tue, 09 Sep 2025 07:50:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> some blind guess here. I think what's happening is that something in box side (maybe backups code) is occupying that port 41000. This is in turn blocking the containers from using that port.</p>
<p dir="auto">Digging deeper, this seems possible. The ephemeral port range is</p>
<pre><code>$ cat /proc/sys/net/ipv4/ip_local_port_range
32768	60999
</code></pre>
<p dir="auto">So, 40000 is not a good choice for a container to listen to. <a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> a quick fix for you is to change sftpgo to use some other port which is outside the 32768-60999 range. In the meantime, I will fix the package to default to some port range outside the ephemeral port range.</p>
<p dir="auto">I think it would be nice to also warn people when try to run containers in ephemeral port ranges. I will put a note in the docs for a start. <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> what do you think?</p>
]]></description><link>https://forum.cloudron.io/post/112526</link><guid isPermaLink="true">https://forum.cloudron.io/post/112526</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 09 Sep 2025 07:50:12 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Thu, 04 Sep 2025 20:38:25 GMT]]></title><description><![CDATA[<p dir="auto">said in <a href="/post/112235">Server security update reboot: SFTPGo doesn't start</a>:</p>
<blockquote>
<p dir="auto">Thanks for the hint, I investigated further:<br />
The left IPv6 is my Cloudron server, from there is had an active connection (ssh outside of Docker) to the right IPv6 my storage box!</p>
<p dir="auto">I only use 1 Volume to a Storagebox and 1 Backup location. Could it be that one of those 2 uses the same port-range (41000+100)? <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a></p>
<p dir="auto">BTW: <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: James">@<bdi>James</bdi></a> please redact my ip's in your message (I just corrected mine)</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> is this a bug? There are more topics with the same kind of error message</p>
]]></description><link>https://forum.cloudron.io/post/112405</link><guid isPermaLink="true">https://forum.cloudron.io/post/112405</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Thu, 04 Sep 2025 20:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 13:21:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the hint, I investigated further:<br />
The left IPv6 is my Cloudron server, from there is had an active connection (ssh outside of Docker) to the right IPv6 my storage box!</p>
<p dir="auto">I only use 1 Volume to a Storagebox and 1 Backup location. Could it be that one of those 2 uses the same port-range (41000+100)? <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a></p>
<p dir="auto">BTW: <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: James">@<bdi>James</bdi></a> please redact my ip's in your message (I just corrected mine)</p>
]]></description><link>https://forum.cloudron.io/post/112235</link><guid isPermaLink="true">https://forum.cloudron.io/post/112235</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Mon, 01 Sep 2025 13:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 13:57:02 GMT]]></title><description><![CDATA[<p dir="auto">This might have been a lingering connection from one of your IoT devices.</p>
<pre><code>ssh     940 root    3u  IPv6  25971      0t0  TCP [2a03:REDACTED:61f0]:41090-&gt;[2a01:REDACTED::2]:telnet (ESTABLISHED)
</code></pre>
<p dir="auto">The program used was <code>ssh</code> so I assume a lingering <code>sftp</code> connection since SFTP uses SSH as the binding agent.<br />
If you can find out what or who <code>2a03:REDACTED:61f0</code> and <code>2a01:REDACTED::2</code> is you might find the device that had the connection still open.</p>
]]></description><link>https://forum.cloudron.io/post/112233</link><guid isPermaLink="true">https://forum.cloudron.io/post/112233</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 01 Sep 2025 13:57:02 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 08:02:55 GMT]]></title><description><![CDATA[<p dir="auto">Thanks to ChatGPT I could solve it:</p>
<p dir="auto">"Something" outside Docker was claiming this port</p>
<pre><code>sudo kill 940
</code></pre>
<p dir="auto">Killed this connection, now the restore worked and the app started.</p>
]]></description><link>https://forum.cloudron.io/post/112232</link><guid isPermaLink="true">https://forum.cloudron.io/post/112232</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Mon, 01 Sep 2025 08:02:55 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 07:52:43 GMT]]></title><description><![CDATA[<p dir="auto">BTW: I also restarted Docker via the GUI but it also didn't solved it.</p>
]]></description><link>https://forum.cloudron.io/post/112231</link><guid isPermaLink="true">https://forum.cloudron.io/post/112231</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Mon, 01 Sep 2025 07:52:43 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 08:32:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> said in <a href="/post/112229">Server security update reboot: SFTPGo doesn't start</a>:</p>
<blockquote>
<p dir="auto">You can also run the following on your root:</p>
<p dir="auto">lsof -i :41090 -S<br />
to see if really anything is using that port.</p>
</blockquote>
<p dir="auto">yes:</p>
<pre><code>~# lsof -i :41090 -S
COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
ssh     940 root    3u  IPv6  25971      0t0  TCP [2a03:****:5f:dc5:48ba:****:fe45:61f0]:41090-&gt;[2a01:4f8:****:1635::2]:telnet (ESTABLISHED)
</code></pre>
<p dir="auto">What could it be? I already stopped MiroTalk and Nextcloud</p>
]]></description><link>https://forum.cloudron.io/post/112230</link><guid isPermaLink="true">https://forum.cloudron.io/post/112230</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Mon, 01 Sep 2025 08:32:42 GMT</pubDate></item><item><title><![CDATA[Reply to SFTPGo or MiroTalk SFU not starting because they use ephemeral ports on Mon, 01 Sep 2025 07:49:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a><br />
The issue why your SFTPGo is not starting is because <code>0.0.0.0:41090: bind: address already in use</code>.<br />
I highly suspect this is just temporary and if you stop the app for 2–5 minutes and then start the app again, this will resolve itself.</p>
<p dir="auto">You can also run the following on your root:</p>
<pre><code>lsof -i :41090 -S
</code></pre>
<p dir="auto">to see if really anything is using that port.</p>
]]></description><link>https://forum.cloudron.io/post/112229</link><guid isPermaLink="true">https://forum.cloudron.io/post/112229</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 01 Sep 2025 07:49:00 GMT</pubDate></item></channel></rss>