Add a null route with ip route blackhole, assuming you have root:
[root@centos6 ~]# nc -zv 192.168.15.100 80
Connection to 192.168.15.100 80 port [tcp/http] succeeded!
[root@centos6 ~]# ip route add blackhole 192.168.15.100
[root@centos6 ~]# nc -zv 192.168.15.100 80
nc: connect to 192.168.15.100 port 80 (tcp) failed: Network is unreachable
[root@centos6 ~]# ip route delete blackhole 192.168.15.100
[root@centos6 ~]# nc -zv 192.168.15.100 80
Connection to 192.168.15.100 80 port [tcp/http] succeeded!
EDIT: If you have on the machine and the app connects to the database via a FQDN, add a FQDN and point the FQDN to a dummy address. It may take a while for the tcp connection to drop, though.
EDIT again: Okay, I missed the part about tcpkill. :)
It available in EPEL, which, if you are running CentOS or Scientific Linux, you enable the EPEL repo so that you can find it:
[root@kerberos rsync-dist]# yum whatprovides "*/tcpkill" --enablerepo=epel
Loaded plugins: refresh-packagekit
epel/metalink | 9.0 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 4.3 MB 00:05
epel/filelists_db | 5.5 MB 00:07
dsniff-2.4-0.9.b1.el6.x86_64 : Tools for network auditing and penetration testing
Repo : epel
Matched from:
Filename : /usr/sbin/tcpkill
Make sure to use the --enablerepo so that you can install from there, like this:
yum -y install dsniff --enablerepo=epel
You can read the instructions here:
http://www.cyberciti.biz/howto/question/linux/kill-tcp-connection-using-linux-netstat.php
Example:
tcpkill ip host 192.168.1.2 and not 192.168.1.111