About 285,000 results
Open links in new tab
  1. java.net.ConnectException: Connection refused - Stack Overflow

    Jul 29, 2011 · I'm trying to implement a TCP connection, everything works fine from the server's side but when I run the client program (from client computer) I get the following error: java.net.ConnectException:

  2. Java Networking "Connection Refused: Connect" - Stack Overflow

    Feb 11, 2011 · I can connect with no problems using telnet, but when I try to access the port with canyouseeme.org, it tells me the connection timed out. I even tried to disable all firewalls and antivirus including the Windows default ones and the router firewall, with all ports forwarded and DMZ enabled, and it still says that the connection timed out.

  3. Apache Tomcat :java.net.ConnectException: Connection refused

    Apr 18, 2011 · Summary: Java dies, Tomcat shut down hook is called, exception is thrown. So if a firewall prevents the shutdown message from reaching Tomcat, Java will eventually die first (ex during system reboot/shutdown), and the exception will appear.

  4. Error in Java Rest Service : Connection refused: connect

    Nov 12, 2014 · Java Connection refused. 0. Android rest web services call, Connections refuse issue. 0. Couldnt able to ...

  5. java.net.ConnectException: Connection refused - Stack Overflow

    Mar 16, 2015 · Point 1 is a self contradictory. If the "server is not started" and you can't ping the host, you won't get a "Connection Refused". You will get a timeout. OTOH. If you can ping the host, then you could get a "Connection refused" if the …

  6. sockets - How to resolve java net ConnectException Connection …

    Nov 27, 2013 · When server sends request from multiple thread at a time to device, some thread got an exception as java.net.ConnectException: Connection refused. but the device is sending response to server in some delay.

  7. Java HttpUrlConnection throws Connection Refused

    Sep 20, 2014 · I'm trying to open a connection to my local server but I keep getting connection refused. I have the server running and I tested the connection with the Browser and with a Google App called Postman and it works. It's failing when opening the connection as if there where nothing to connect to. or maybe something is blocking the connection?

  8. How to fix 'java.net.ConnectException: Connection refused: …

    Sep 12, 2019 · I'm trying to send an email through my website (JSF website), which is deployed on an apache server I keep getting 'Connection Refused: Connect', but if I run the code from a java application directly from NetBeans the code works perfectly.

  9. java - How can I solve "Connection refused: connect" - Stack …

    Dec 11, 2016 · Java Networking: Connection refused - Yes, my server is running. 10. Java Networking "Connection Refused ...

  10. Exception in thread "main" java.net.ConnectException: Connection ...

    Nov 1, 2016 · 'ConnectException: connection refused' just means you got the hostname or IP address or port wrong in the client, or you hadn't started the server when you ran the client. – user207421 Commented Nov 2, 2016 at 5:43

Refresh