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:

  1. tcp 0.0.0.0:23333 0.0.0.0:0 listening
  2. tcp 10.200.49.196:23333 10.200.49.196:50814 fin_wait_2
  3. 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

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -