java - TCP socket on server is getting closed/not showing in LISTEN state -
i facing problem regarding socket close. able create socket , working fine extent of time. when try connect server, clients connecting , performing operations well. after hours state of socket not showing in listen mode. clients stopped performing functions , getting error "could not connect "server_ip:port_no"".
not getting happening. using jacorb api this.
without calling close() on socket getting terminated. why port not showing in listen mode? have checked status of port using command "netstat -anp | gerp port_no".
normally, server's listening port has finite number of allowable connections, , when of them have been granted connection requests coming clients, listen port pulled new connection request denied. looks have happened server. "see" listen port again, client needs release connections listen port when no longer needed.
Comments
Post a Comment