title: How to set a timeout for a specific port in linux
body: <p>is there a way to set a timeout for a certain port in linux?</p>
  
  <p>we  have deployed tomcat for a sms banking application and the established connections are not getting closed on port 9010 and they are increasing gradually. so after sometime the system gets hault. when we restart tomcat, all established connections are killed. then again the system works fine.</p>
  
  <p>so is there anyway to kill the established connections setting a timeout for port 9010?</p>
  
  <p>appriciate any help in advance!!</p>