aspose file tools*
The moose likes JDBC and the fly likes MySQL 4.1 [java.net.ConnectException: Connection refused] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySQL 4.1 [java.net.ConnectException: Connection refused]" Watch "MySQL 4.1 [java.net.ConnectException: Connection refused]" New topic
Author

MySQL 4.1 [java.net.ConnectException: Connection refused]

Jawad Bokhari
Greenhorn

Joined: Dec 16, 2004
Posts: 1
I am receiving following error message when trying to connect my database under mysql 4.1.

java.net.ConnectException: Connection refused

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1779)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.javaexchange.dbConnectionBroker.DbConnectionBroker.lThtlf(Unknown Source)
at com.javaexchange.dbConnectionBroker.DbConnectionBroker.lthtlf(Unknown Source)
at com.javaexchange.dbConnectionBroker.DbConnectionBroker.<init>(Unknown Source)
at advcomm.advrad.DBParams.<init>(Unknown Source)
at advcomm.advrad.FileParser.Ltht(Unknown Source)
at advcomm.advrad.FileParser.ltht(Unknown Source)
at advcomm.advrad.FileParser.<init>(Unknown Source)
at advcomm.advrad.RadiusServer.parse(Unknown Source)
at advcomm.advrad.RadiusServer.main(Unknown Source)


Appreciate your kind help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySQL 4.1 [java.net.ConnectException: Connection refused]
 
Similar Threads
Problem in invonking webservice through HTTPS
error sql after removing all jdbc connection
The concurrent problem about RMI
Cannot Start RMI Server
SCP task in Ant