<?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[How to expose a port (mysql)]]></title><description><![CDATA[<p dir="auto">I would like to modify a container (e.g. MySQL) to expose a port to the host.</p>
<p dir="auto">How can I change this configuration within Cloudron to do this?</p>
<p dir="auto">One of the reasons for this is so I can connect into MySQL remotely (local network) for development purposes.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">-gregg</p>
]]></description><link>https://forum.cloudron.io/topic/5280/how-to-expose-a-port-mysql</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 15:04:34 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5280.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jun 2021 00:32:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to expose a port (mysql) on Wed, 30 Jun 2021 10:36:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: chicagogregg">@<bdi>chicagogregg</bdi></a> would a solution using an SSH tunnel as described at <a href="https://forum.cloudron.io/topic/2200/external-mysql/5">https://forum.cloudron.io/topic/2200/external-mysql/5</a> also work for you?</p>
]]></description><link>https://forum.cloudron.io/post/33265</link><guid isPermaLink="true">https://forum.cloudron.io/post/33265</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 30 Jun 2021 10:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to expose a port (mysql) on Tue, 23 Nov 2021 16:54:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: chicagogregg">@<bdi>chicagogregg</bdi></a> By chance did you or someone write up a step by step guide on this? I'm needing to do something similar but for whatever reason, ssh proxying and I don't seem to get along.</p>
]]></description><link>https://forum.cloudron.io/post/39667</link><guid isPermaLink="true">https://forum.cloudron.io/post/39667</guid><dc:creator><![CDATA[doodlemania2]]></dc:creator><pubDate>Tue, 23 Nov 2021 16:54:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to expose a port (mysql) on Thu, 01 Jul 2021 21:21:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I wound up using an SSH tunnel to connect into the MySQL server (mysql container) through the cloudron server.</p>
<p dir="auto">I didn't know about that link you sent to me, but that's exactly what I did with the:</p>
<p dir="auto">env | grep CLOUDRON_MYSQL_</p>
<p dir="auto">to get the username/password.</p>
<p dir="auto">Since I'm tunneling via SSH I don't have a need to expose the port from the cloudron server. However, if I do need to, I probably can use iptables FORWARD. I'll stay away from that in the meantime.</p>
<p dir="auto">Thanks for the help. Let's close this thread as resolved.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">-gregg</p>
]]></description><link>https://forum.cloudron.io/post/33330</link><guid isPermaLink="true">https://forum.cloudron.io/post/33330</guid><dc:creator><![CDATA[ChicagoGregg]]></dc:creator><pubDate>Thu, 01 Jul 2021 21:21:47 GMT</pubDate></item><item><title><![CDATA[Reply to How to expose a port (mysql) on Wed, 30 Jun 2021 10:36:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: chicagogregg">@<bdi>chicagogregg</bdi></a> would a solution using an SSH tunnel as described at <a href="https://forum.cloudron.io/topic/2200/external-mysql/5">https://forum.cloudron.io/topic/2200/external-mysql/5</a> also work for you?</p>
]]></description><link>https://forum.cloudron.io/post/33265</link><guid isPermaLink="true">https://forum.cloudron.io/post/33265</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 30 Jun 2021 10:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to expose a port (mysql) on Wed, 30 Jun 2021 07:26:08 GMT]]></title><description><![CDATA[<p dir="auto">@atridad Thanks for the reply.</p>
<p dir="auto">I'd like to access the tcp/3306 on the mysql container directly from the local network. I need this for such command line tools such as mysqldump &amp; mysql (for importing) commands as well as some GUI tools.</p>
<p dir="auto">I'm assuming you're referring to ssh'g into the cloudron server and then access mysql on the mysql container (tcp/3306) via the command line... while that would work, it wouldn't allow me to access mysql directly from the local network. I wonder if I could proxy through via SSH.</p>
<p dir="auto">Is there any way I could configure the container image to expose this port on the host itself so I can access it directly? (even if it's on a different port)</p>
<p dir="auto">(Hmm, I wonder if I could use iptables with FORWARD?)</p>
<p dir="auto">How can I find the MySQL root password for the cloudron host (if I ever need it?)? I found out how to get the root password for the MySQL container host (but not yet on the main cloudron host).</p>
<p dir="auto">Thanks!</p>
<p dir="auto">-gregg</p>
]]></description><link>https://forum.cloudron.io/post/33258</link><guid isPermaLink="true">https://forum.cloudron.io/post/33258</guid><dc:creator><![CDATA[ChicagoGregg]]></dc:creator><pubDate>Wed, 30 Jun 2021 07:26:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to expose a port (mysql) on Wed, 30 Jun 2021 02:35:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: chicagogregg">@<bdi>chicagogregg</bdi></a> If you need to work with the mySQL db for a specific app this can be done via the terminal in each app. Also, you could just SSH into your server and access it that way.</p>
]]></description><link>https://forum.cloudron.io/post/33242</link><guid isPermaLink="true">https://forum.cloudron.io/post/33242</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 30 Jun 2021 02:35:59 GMT</pubDate></item></channel></rss>