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

The TCP/IP connection to the host has failed. java.net.ConnectException:Connection refused:connect.

$
0
0

Hi all,

I am able to connect SQL Server 2012 Management studio.

Facing the below error When I try to call the DB in SAP BODS.

The TCP/IP connection to the host has failed.

java.net.ConnectException:Connection refused:connect.

SQL Services are running.Enabled the TCP/IP.

Tried the below steps too, but no use.

Disable the firewalls too.

Kindly Help.

Resolution:

  1. Open SQL Server Configuration Manager, and then expand SQL Server 2012 Network Configuration.
  2. Click Protocols for InstanceName, and then make sure TCP/IP is enabled in the right panel and double-click TCP/IP.
  3. On the Protocol tab, notice the value of the Listen All item.
  4. Click the IP Addresses tab: If the value of Listen All is yes, the TCP/IP port number for this instance of SQL Server 2012 is the value of the TCP Dynamic Ports item under IPAll. If the value of Listen All is no, the TCP/IP port number for this instance of SQL Server 2012 is the value of the TCP Dynamic Ports item for a specific IP address.
  5. Make sure the TCP Port is 1433.
  6. Click OK.




Viewing all articles
Browse latest Browse all 4729

Trending Articles



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