<?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: Can not change databricks-connect port in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62634#M32021</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79106"&gt;@daniel_sahal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for the reply, indeed port 443 is used by a lot of applucations and could be problematic. But I also tried port `15002` and it didn't work. No other ports than default one works&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 10:00:57 GMT</pubDate>
    <dc:creator>Etyr</dc:creator>
    <dc:date>2024-03-05T10:00:57Z</dc:date>
    <item>
      <title>Can not change databricks-connect port</title>
      <link>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62598#M32008</link>
      <description>&lt;P&gt;I have a Databricks cluster with 10.4 runtime, when I configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;databricks-connect configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I put all the information needed and using the default port 15001,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;databricks-connect test&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;works.&lt;/P&gt;&lt;P&gt;But changing the port to 443 does not work, I tried to do a pyspark session but it also fails:&lt;/P&gt;&lt;PRE&gt;: com.databricks.service.SparkServiceConnectionException: Invalid port (443) or invalid token:

The port you specified is either being used already or invalid.
Port: The port that Databricks Connect connects to
  - The default Databricks Connect port is 15001
  - Get current value: spark.conf.get("spark.databricks.service.port")
  - Set via conf: spark.conf.set("spark.databricks.service.port", &amp;lt;your port&amp;gt;")&lt;/PRE&gt;&lt;P&gt;I added a configuration on my cluster (spark config)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;spark.databricks.service.server.enabled true&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;spark.databricks.service.port 443&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it did not work.&lt;/P&gt;&lt;P&gt;Why doesn't it work? The reason why I want to change to port 443 is simple, my github action workflows is on a self-hosted worker which is behind a firewall that block the port 15001, so I'm trying to find a solution to use a port which is opened.&lt;BR /&gt;&lt;BR /&gt;I tried to set up in `databricks-connect configure` the port 443 + adding it to my spark conf on the driver and on the cluster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etyr_0-1709564343385.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6498iF706D1B8FE32B877/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Etyr_0-1709564343385.png" alt="Etyr_0-1709564343385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 14:59:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62598#M32008</guid>
      <dc:creator>Etyr</dc:creator>
      <dc:date>2024-03-04T14:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can not change databricks-connect port</title>
      <link>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62632#M32019</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/28304"&gt;@Etyr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster is using 443 (HTTPS) to connect to the control plane, so IMO 443 should not be used for anything else.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 09:50:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62632#M32019</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2024-03-05T09:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can not change databricks-connect port</title>
      <link>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62634#M32021</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79106"&gt;@daniel_sahal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for the reply, indeed port 443 is used by a lot of applucations and could be problematic. But I also tried port `15002` and it didn't work. No other ports than default one works&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:00:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-not-change-databricks-connect-port/m-p/62634#M32021</guid>
      <dc:creator>Etyr</dc:creator>
      <dc:date>2024-03-05T10:00:57Z</dc:date>
    </item>
  </channel>
</rss>

