About 51 results
Open links in new tab
  1. java.net.SocketException: Connection reset - Stack Overflow

    Sep 15, 2008 · 16 You should inspect full trace very carefully, I've a server socket application and fixed a java.net.SocketException: Connection reset case. In my case it happens while reading from a …

  2. 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: …

  3. Flutter First App Exception -> Exception in thread "main" java.net ...

    Aug 24, 2023 · I'm trying to learn Flutter and trying to initialize first app. I've applied all steps in Flutter getting started page but still getting exception like Launching lib\\main.dart on sdk gphone64 x86 6...

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

    Nov 1, 2016 · Exception in thread "main" java.net.ConnectException: Connection refused: connect Socket Programming Java Asked 9 years, 2 months ago Modified 9 years, 2 months ago Viewed 75k times

  5. How to use java.net.URLConnection to fire and handle HTTP requests

    May 8, 2010 · Some questions with lots of votes and general titles are flagged duplicate and link to this question. Also, there are new ways to execute HTTP requests in Java and the legacy URLConnection …

  6. How to fix java.net.SocketException: Broken pipe?

    Feb 22, 2010 · The above answers illustrate the reason for this java.net.SocketException: Broken pipe: the other end closed the connection. I would like to share experience what happened when I …

  7. How do I get 'import java.net.*' to work? - Stack Overflow

    Apr 7, 2018 · No one talks about getting the java.net class itself. I found one reference to jdk.net in an oracle jdk 10 API specification page. What am I suppose to use to get the IP address using a …

  8. What's causing my java.net.SocketException: Connection reset?

    Feb 25, 2009 · This is an old thread, but I ran into java.net.SocketException: Connection reset yesterday. The server-side application had its throttling settings changed to allow only 1 connection at a time!

  9. java.net.SocketException: Connection reset by peer: socket write error ...

    Sep 2, 2014 · private void writeFile(File request) throws IOException { InputStream byteReader = new BufferedInputStream(new FileInputStream(request)); byte[] buffer = new byte[1024]; int bytesRead; …

  10. Getting around the deprecation of java.net.URL - Stack Overflow

    Apr 1, 2023 · I'm migrating my code to Java 20. In this release, the java.net.URL#URL(java.lang.String) got deprecated. Unfortunately, I have a class where I found no replacement for the old URL …