<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to open Streamlit URL that is hosted by Databricks in local web browser? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/54142#M29998</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Akshay - Could you share the steps for the workaround you found? Any info you could share would be super helpful. Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 19:57:39 GMT</pubDate>
    <dc:creator>estdata</dc:creator>
    <dc:date>2023-11-28T19:57:39Z</dc:date>
    <item>
      <title>How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7339#M3240</link>
      <description>&lt;P&gt;I have run this webapp code on Databricks notebook. It works properly without any errors. &lt;/P&gt;&lt;P&gt;With databricks acting as server, I am unable open this link on my browser for this webapp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I run the code on my local IDE, I am able to just open the URL on my browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can access the webapp using this URL generated by Databricks? &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/506i8B4E1BD371B7DFE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 18:45:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7339#M3240</guid>
      <dc:creator>Akshay_127877</dc:creator>
      <dc:date>2023-03-21T18:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7340#M3241</link>
      <description>&lt;P&gt;@Akshay Aravinnakshan​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there are a few steps you can follow to access the web app hosted on Databricks:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Make sure that the Databricks cluster is running and that the web app is running on the cluster.&lt;/LI&gt;&lt;LI&gt;In the Databricks notebook, check the port on which the web app is running. You can find this in the output of the command that started the web app.&lt;/LI&gt;&lt;LI&gt;Configure your Databricks cluster's network settings to allow inbound traffic on the port that the web app is running on. You can do this by going to the Azure portal and navigating to the Network Security Group associated with your Databricks cluster. Then, add an inbound security rule that allows traffic on the port that the web app is running on.&lt;/LI&gt;&lt;LI&gt;Use the public IP address of your Databricks cluster to access the web app. To find the public IP address, go to the Azure portal and navigate to the Databricks workspace. Then, click on the "Networking" tab and look for the "Public IP address" field.&lt;/LI&gt;&lt;LI&gt;Open your browser and navigate to the URL of the web app, using the public IP address and the port number. For example, if the public IP address is 1.2.3.4 and the web app is running on port 8080, you would navigate to &lt;A href="http://1.2.3.4:8080/" alt="http://1.2.3.4:8080/" target="_blank"&gt;http://1.2.3.4:8080&lt;/A&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Note that the steps above assume that your Databricks cluster is running in an Azure Virtual Network (VNet) and is accessible from the internet. If your cluster is not in a VNet or is not accessible from the internet, you may need to set up a Virtual Private Network (VPN) or a ExpressRoute connection to access the web app.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 07:05:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7340#M3241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-25T07:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7341#M3242</link>
      <description>&lt;P&gt;Hi @Akshay Aravinnakshan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your input matters! Help our community thrive by coming back and marking the most helpful and accurate answers. Together, we can make a difference!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 04:54:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7341#M3242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-27T04:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7342#M3243</link>
      <description>&lt;P&gt;Thank you for the reply. I am unfortunately facing some issues still.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did till now based on your reply:&lt;/P&gt;&lt;P&gt;1) Created VNet called "Akshay_2_vnet" and added two subnets Private and Public. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/502i44726B992A02BCC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;2) Created my databricks instance (Akshay_2_Databricks) on that Vnet.&lt;/P&gt;&lt;P&gt;The Network configuration looks like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/500i34F1C0D33953137F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;The summary of the Databricks instance before creation looks like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/503i8AA251A0F8103783/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;3) (As per step 3 in your answer) I found my NSG for the public subnet by clicking on this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/499i6E4B45AA7ED1575A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;I added the inbound security rule as follows for port 8501: &lt;/P&gt;&lt;P&gt;The configuration of the inbound rule looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/507i0C6F59182EE4DE17/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;After saving the inbound rule:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/511i91F59DAFE89D47D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Then I started my cluster and ran the code. I ran my webapp on the port 8501&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/510i158F5DF4C88030D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;But, the networking tab of my Databricks workspace is freezed (as seen above). So I am not able to perform your step 4 in your answer. As a workaround, I used the public IP address(as seen in Screenshot of step 3.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now the webapp is hosted on the address : &lt;B&gt;&lt;A href="http://10.0.1.0:8501" target="test_blank"&gt;http://10.0.1.0:8501&lt;/A&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it still does not allow me to access to the web app in the browser. Could you please guide me where I am going wrong. &lt;/P&gt;&lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Also when I ran the streamlit code, databricks suggested to run the following command to open the streamlit app in browser. Could you please explain me what this command means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;!streamlit run /databricks/python_shell/scripts/db_ipykernel_launcher.py&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:32:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7342#M3243</guid>
      <dc:creator>Akshay_127877</dc:creator>
      <dc:date>2023-04-05T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7343#M3244</link>
      <description>&lt;P&gt;Hello Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the same issue. are you noe able to use streamlit with Databricks&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 10:34:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7343#M3244</guid>
      <dc:creator>Aarsh</dc:creator>
      <dc:date>2023-05-12T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7344#M3245</link>
      <description>&lt;P&gt;Hi Aarsh,&lt;/P&gt;&lt;P&gt;Unfortunately no. As you can see I did not get any help on this regards from Databricks comunity on this topic. Also, I wasn't able resolve it on my own as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a work around actually, I ran the databricks notebooks using Databricks-cli on my streamlit app and stored the app on github.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then used Azure-app services to launch my app stored in github.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 15:13:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/7344#M3245</guid>
      <dc:creator>Akshay_127877</dc:creator>
      <dc:date>2023-05-15T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/42889#M27441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/50204"&gt;@Akshay_127877&lt;/a&gt;&amp;nbsp;, did you get this to work? Snowflake will be releasing an integrated Streamlit feature next month. Wondering if Databricks is working on a similar solution. I like databricks, but will move to Snowflake if the Streamlit feature works as expected. Screenshot is from a preview demo on Youtube.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 16:55:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/42889#M27441</guid>
      <dc:creator>AlexG</dc:creator>
      <dc:date>2023-08-30T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/54142#M29998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Akshay - Could you share the steps for the workaround you found? Any info you could share would be super helpful. Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:57:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/54142#M29998</guid>
      <dc:creator>estdata</dc:creator>
      <dc:date>2023-11-28T19:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to open Streamlit URL that is hosted by Databricks in local web browser?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/97163#M39443</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/50204"&gt;@Akshay_127877&lt;/a&gt;&amp;nbsp;: Were you able to resolve this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 06:23:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-open-streamlit-url-that-is-hosted-by-databricks-in-local/m-p/97163#M39443</guid>
      <dc:creator>navallyemul</dc:creator>
      <dc:date>2024-11-01T06:23:22Z</dc:date>
    </item>
  </channel>
</rss>

