my dog learned polymorphism*
The moose likes JDBC and the fly likes TCP/IP connection to the host has failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "TCP/IP connection to the host has failed" Watch "TCP/IP connection to the host has failed" New topic

TCP/IP connection to the host has failed


Joined: Nov 05, 2008
Posts: 5

I have read other threads but my problem is not solved yet.

I want to understand whether this issue is because of TCP/IP settings or can also occur if too many DB calls are made? If it is because of settings then my application should not run at all. But I see this error only when data volume being processed is high and that too it happens only within particular time range and for particular load only, kinda strange. DBA says there is no problem with server and I'm not able to figure out the cause.

I'm using Hibernate, Spring based application.

Error Message

ERROR [] - The TCP/IP connection to the host has failed. Error: "Address already in use: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: TCP/IP connection to the host has failed
Similar Threads
connection to mssql server database
Exception during connecting to sql server2005
Trouble Connectiing
Finding out the correct URL
SQL Server - netbeans Connection problem