Cannot connect to database

I am having trouble connecting to any database using pocketquery. On my sandbox site for confluence, I am able to connect with no problem. Version 2.0.4. On the same version on the regular confluence, I am getting the following error. "IO Error: The Network Adapter could not establish the connection"

 

 pocketqueryerror.PNG

5 answers

Hi Phillip! First of all, thank you for your interest in PocketQuery! Could you please click on the "Stack Trace" link and post the content of the dialog that will appear?

It is a very long dialog, I am going to attach it. Let me know if you need it posted in the actual comment though. 

Hi Phillip, the root cause of your exception is actually this:

Caused by: java.net.UnknownHostException: VMDEVDB01.PowerPlan.ppc.com

It seems your Confluence cannot connect to that host, but it wants to when it establishes the DB connection.

It turns out that our production instance of Confluence is hosted by another company offsite, and that is why we could not reach my databases from there. Have you ever run into this situation? I am not sure that I will be able to easily ping outside of their domain.

Hi Phillip! If your database server is not pingable from your Confluence server, PocketQuery won't be able to connect to the database either. You'll definitely make sure a connection between Confluence and the DB server is possible... 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

780 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you