DB connection issues while installing Crowd

Could not connect to the database: java.sql.SQLException: Network error IOException: Connection refused

I am using sql server and jdbc:jtds:sqlserver://localhost:1433/crowd is the jdbc url that I am using

Have populated user name and password of the DB etc and used the Drive class name and Hiberbate dialect with the default values

Checked this url and the sql server seems to be configured for this – https://confluence.atlassian.com/confkb/confluence-database-setup-fails-for-ms-sql-server-with-connection-refused-227411327.html

1 answer

0 votes

Hi Nirmal,

 

Normally these error is cause by the following:

  1. Network related issue
  2. Server is refusing connection
  3.  Incorrect URL or port

Have you try to connect to your SQL server using tool such as https://www.dbvis.com/  from your Crowd server? If you haven't, I would highly recommend you to test your connection using this tool. If you can't connect using this tools, I would suggest you to consult your network or sql administrator as the issue is likely cause by these factor.

If you can connect to your SQL server using the dbvis however the Crowd is still displaying the same error on it's end, feel free to create a support ticket in Atlassian Support . We would be happy to assist you in this investigation.



Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,581 views 22 17
View question

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