java - CLOSE_WAIT and FIN_WAIT_2 when I try to create a SSL client socket -
the server port listening correctly before invoked line:
sslsocket socket = (sslsocket) ssfactory.createsocket(ipaddress, port);
then became this:
- tcp 0.0.0.0:23333 0.0.0.0:0 listening
- tcp 10.200.49.196:23333 10.200.49.196:50814 fin_wait_2
- tcp 10.200.49.196:50814 10.200.49.196:23333 close_wait
i never wanted close port. why did hang that? code worked fine before.
i can not ask comment. :(
did certificate change , ssl hand shake failed? may result in closed ssl connection.
the netstat
output shows:
- a running server socket
- a client server entry of closed connection
- and server client entry of closed connection
is there exception thrown?
Comments
Post a Comment