I can't reach my Stardog server from a Databricks notebook

Created by Steve Place, Modified on Thu, Jun 13 at 4:27 PM by Steve Place

If you're trying to connect to your Stardog BI server from a Databricks notebook and getting an output like this:

%sh
nc -vz example-company-bi-server.stardog.cloud 5806

nc: connect to example-company-bi-server.stardog.cloud (XX.XX.XXX.XXX) port 5806 (tcp) failed: Connection timed out
nc: connect to example-company-bi-server.stardog.cloud (XX.XX.XXX.XXX) port 5806 (tcp) failed: Connection timed out
nc: connect to example-company-bi-server.stardog.cloud (XX.XX.XXX.XXX) port 5806 (tcp) failed: Connection timed out

It means Databricks can't reach your Stardog server. This most often happens with Stardog Cloud endpoints, as the example above illustrates. If this is the case for you, open a support ticket and include your Databricks cluster IP so we can whitelist it. After that, you will be able to connect to your Stardog server from Databricks.


If this is happening and your Stardog server is on-prem, talk to your IT admin about opening the connection between Databricks and your server.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article