-
java.net Exception
I get this exception when trying to connect to a remote sql server.. Though the server is properly started and the database is up still the error comes up.
"com.jnetdirect.jsql.x: TCP/IP connection failed to host:java.net.ConnectException: Connection refused: no further information"
What could be the reason anyone?
-
okay, let's just take that error message as read for the moment, and ignore all practical networking considerations:
TCP/IP connection failed to host:java.net.ConnectException
if i typed http://java.net.ConnectException in my browser too, i guess it would fail to connect..
now, let's assume that that error message is mangled up, and that it doesnt look like that on your machine (it is hence nearly impossible to help if you dont provide accurate information, by the way)
that error message means that your machine failed to connect to the database server. recheck the hostname and port that you are attempting to use. then, open telnet and attempt to telnet to the database server. if telnet fails too, then you need to have a look at your local network, uninstall ZoneAlarm, or any other stupid network-hindering software (most people call them firewalls) scratch your head a bit more etc etc and find out why your machine is logically disconnected from the machine hosting the DB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks