A database connection could not be established

Yesterday the server was working fine with the 4.3.2 version and a sql express 2014, 
now any time I try to enter in my server they display a form setup like it was a new
instance and when I try to enter the setup values the sever return me this error.
<Sory for my english>
 
The configuration entered is not valid. A database connection could not be established. 
Please check your configuration and try again.
 
The configuration entered is not valid. A database connection could not be established. 
Please check your configuration and try again. com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:230) com.atlassian.stash.internal.migration.DefaultMigrationService.validateConfiguration(DefaultMigrationService.java:85) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Could not get JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException:
No se pudo realizar la conexión TCP/IP al host SRV17-WEB, puerto 1433. Error: "connect timed out.
Verifique las propiedades de conexión, compruebe que hay una instancia de SQL Server ejecutándose en el host y
aceptando las conexiones TCP/IP en el puerto y compruebe que no hay ningún firewall bloqueando las conexiones
TCP en el puerto.". org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) com.atlassian.stash.internal.db.DefaultDatabaseValidator.validate(DefaultDatabaseValidator.java:44) com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:227) ... No se pudo realizar la conexión TCP/IP al host SRV17-WEB, puerto 1433. Error: "connect timed out. Verifique las
propiedades de conexión, compruebe que hay una instancia de SQL Server ejecutándose en el host y aceptando las
conexiones TCP/IP en el puerto y compruebe que no hay ningún firewall bloqueando las conexiones TCP en el puerto.". com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:191) com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:242) com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2280) ...

1 answer

0 vote

I'm afraid that really is what the error message said - it's trying to reach the database over your network, and it can't.  Check the network and the database server is running and accepting connections.

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 Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,929 views 26 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