Skip to main content

Cannot Connect to Server from Client Application (After Java Update)

Connection works locally on the server, but other computers report a "failed to connect" or "timeout" error

Written by Lenka Haringerová

If you can connect on the server itself without any issues, but connections from other computers fail, the cause is usually a Java update.

After an update, the path to the Java application changes, and the original firewall rule becomes invalid. As a result, the firewall blocks the new version of Java.

🔹 How to identify the problem

  • the connection works directly on the server

  • connections from other computers fail

  • the following errors appear:

    • "could not connect to the server"

    • "timeout"

🔹 Solution

  1. Open the firewall settings on the server

  2. Locate the rule for Java

  3. Add a new rule for the current version of Java (new path to java.exe)

  4. Save the changes and try connecting again

Did this answer your question?