How to Connect NetBeans Java Application to Microsoft SQL Server?

Published: Last Updated on 3K views 1 minutes read
A+A-
Reset

Are you new to Java? Did you faced problem while creating a connection to SQL Server to NetBeans IDE.
This video is simple step by step solution for below error:

Cannot establish a connection to jdbc:sqlserver://127.0.0.1\SQLEXPRESS:1434;databaseName=[DBTest] 
using com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP/IP connection to the host 127.0.0.1, 
port 1434 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.".)

Learn how to connect Java Application to SQL Server Database using JDBC Connection.

For more tutorials on Java, subscribe to our YouTube channel.

Related Posts

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.