I am at the initial stage of installing BitBucket Server for a small team. In the options I chose the "external" and the message I got was..
The configuration entered is not valid. A database connection could not be established. Please check your configuration and try again.
If you continue having issues, get in touch with our support team and we'll help get you up and running
"com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:214)
...
The TCP/IP connection to the host , port 1433 has failed. Error: "Connection refused: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
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:2369"