Prompt on windows that the tomcat port is occupied but netstat cannot find the process

the 2012 R2 http-nio Tomcat 8.5 zip, application has been running for some time, but occasionally stops and then restarts, indicating that the http-nio port has been occupied by the, BindException already in use.
changes the server.xml port number to start normally.

the probability of occurrence is extremely low, about single digits

netstat-ano does not show the port
solve after restarting os

not sure if it has anything to do with command line / service mode.

Mar.29,2021

first confirm that the old process is over before restarting.

by default, the TCP port needs to wait a period of time (TIME_WAIT) from closing to reopening, during which time the port cannot be used.
for more information, please refer to the TCP standard document https://tools.ietf.org/html/r.

.

take the Windows operating system as an example, you can reduce the wait time by modifying the TcpTimedWaitDelay registry value, which defaults to 240s (4 minutes) and the registry path HKLM\ SYSTEM\ CurrentControlSet\ Services\ Tcpip\ Parameters .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36baa-2b883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36baa-2b883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?