Dear all,<br><br>    I wrote a simple example Client/Server application which Client will always try to re-connect to Server if connections is broken. And I saw the below problem:<br>      - Step 1: Run Server app to listen on localhost:port5000 -&gt; OK, port 5000 is LISTENING.<br>
      - Step 2: Run Client app and connect to localhost:port 5000 -&gt; exceptionCaught(): &quot;ConnectException: No further information&quot; then channelClosed() is called.<br>      - Step 3: Since connect failed, Client app try to re-connect -&gt; successful, channelConnected() is called. Port 5000 is ESTABLISHED.<br>
    It&#39;s too strange, because sometimes it occurs, sometimes not (connected immediately).<br>    Does anyone face this issue and find out the reason? Why Client cannot connect to Server at first time but later?<br>    I guess the port is not cleaned completely after each my test running. Is is correct?<br>
<br>Thanks for any contributions,<br>Best Regards,<br>Hai Ngo<br>