Have you tried setting:
echo "1" >/proc/sys/net/ipv4/tcp_tw_reuse
and/or
echo "1" >/proc/sys/net/ipv4/tcp_tw_recycle
These settings may make Linux re-use the TIME_WAIT sockets. Unfortunately I can’t find any definitive documentation.
More Related Contents:
- Official reasons for “Software caused connection abort: socket write error”
- java.net.SocketException: Connection reset
- Java socket API: How to tell if a connection has been closed?
- How to fix java.net.SocketException: Broken pipe?
- How to detect a remote side socket close? [duplicate]
- Asynchronous IO in Java?
- How to find an available port?
- Java TCP socket: data transfer is slow
- Getting the IP address of the current machine using Java
- Why do I get an UnsupportedOperationException when trying to remove an element from a List?
- Why does writeObject throw java.io.NotSerializableException and how do I fix it?
- Why is the Catch(Exception) almost always a bad Idea?
- Difference between java.lang.RuntimeException and java.lang.Exception
- Is it possible to catch out of memory exception in java? [duplicate]
- Is it good practice to make the constructor throw an exception? [duplicate]
- How to identify end of InputStream in java
- Throws or try-catch
- Mockito test a void method throws an exception
- Close multiple resources with AutoCloseable (try-with-resources)
- Update JavaFX UI from another thread
- How can I print error stack trace in JSP page?
- java.net.SocketException: Invalid argument: connect
- Convert LocalDate in DD/MM/YYYY LocalDate [duplicate]
- iText/BouncyCastle ClassNotFound org.bouncycastle.asn1.DEREncodable and org.bouncycastle.tsp.TimeStampTokenInfo
- Why we don’t have to add try-catch to a RuntimeException?
- Illegal operation on empty result set [duplicate]
- Multiple or Single Try Catch [duplicate]
- pointerIndex out of range Android multitouch
- java socket / output stream writes : do they block?
- Java simple code: java.net.SocketException: Unexpected end of file from server