We have a Tomcat7 Java 11 application on which a few developers work in parallel. This has some debug ports exposed in DEV stability. Sometimes, a user might connect to the debug port and end up forgetting to close the connection, and leaves the connection open, with some active debug points causing the application to pause all processing which involves that flow.
I was wondering if the following options are possible:
If you have app running on Linux
ss -tn src :debugPort
Peer Address:Port
you will find the host connected to your app.tcpkill ip host 192.168.1.2
to end the connection.