Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

connecting to sq server in java

$
0
0

Hi, 

I am trying to open a connection with sql server but I am getting this error

"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.".

I have opened the configuration manager, and made sure that the IP are open and running and port is set to 1433. I also allowed sql server on my firewall.

I tried pinging that IP address and it worked, but I tried doing a telnet on that ip address and it said its not configured. 

Can anyone please help me?

Thanks..


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>