kshetty Posted February 13, 2019 Share Posted February 13, 2019 Keep getting the error:com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. 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.". Link to comment Share on other sites More sharing options...
vchiem Posted February 14, 2019 Share Posted February 14, 2019 Check this article :https://community.jaspersoft.com/wiki/error-connecting-mssql-datasource Link to comment Share on other sites More sharing options...
kshetty Posted February 14, 2019 Author Share Posted February 14, 2019 I did that, it didn't solve the issue. What would the connection url format be for a localdb server? Link to comment Share on other sites More sharing options...
vchiem Posted February 14, 2019 Share Posted February 14, 2019 Something like this:jdbc:sqlserver://localhost:1433;databaseName=database Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now