Many Thanks! I got your points. We have this scenario happened in lab (networks) and my local work station which no application running. Can you try few times to run this program? (Normally I left this program running, then went for lunch, came back, one of port got connected). I am curious to know if it will happen in your machine.
Thanks again, Susan -----Original Message----- From: Emmanuel Lécharny [mailto:[email protected]] Sent: November 13, 2012 11:49 AM To: [email protected] Subject: Re: mina client connected without mina server running. Le 11/13/12 4:04 PM, Wang, Susan a écrit : > Anyone has ideas why clients connected automatically without mina server > after 20 or 30 minute? ust wondering if you might not have a port activated by some other project that may collide with the two ports you are trying to connect ? If for some reason or another you have a program trying to open a random port above 1024 (this can be done with new ServerSocket(0), which picks a random port), and if it open one of those two ports, your client application might actually create a session, and you will think it's connected. <Otherwise, I have your code runnig for more than 30 minutes, so far, no connection has happened. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
