This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC local host connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC local host connection "NoRouteToHostException"" Watch "JDBC local host connection "NoRouteToHostException"" New topic

JDBC local host connection "NoRouteToHostException"

Aye Jackson

Joined: Jan 29, 2008
Posts: 1
Every so often (about 1% of the time), I am seeing a "NoRouteToHostException: No route to host: connect" error on a JDBC connnection. The host is the local host MySQL database which is up and running. Since it is a local host, I wouldn't expect it to go to the network (or DNS server). What would cause this periodic occurence of a connection failure in this situation.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

"Java Today",
Please check your private messages.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: JDBC local host connection "NoRouteToHostException"
It's not a secret anymore!