If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Connection refused to host exception in java RMI
    via Stack Overflow by Dhina
  • db:: 3.53::Timeout Exception occured xj
    via by Unknown author,
  • RMI: ClassNotFoundException
    via by cdvr,
  • Regarding JMX
    via by 843798,
  • RMI callback and VPN issue
    via by 843793,
    • Connection timed out: connect at Method) at Source) at Source) at Source) at Source) at Source) at Source) at Source) at Source) at<init>(Unknown Source) at<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 times, last one,
    17 times, last one,
    3 times, last one,
    710 more bugmates