[root@generic-proxy-01 ~]# netstat -plant|grep 1080 tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 18940/ssh [root@generic-proxy-01 ~]# lsof -i tcp:1080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ssh 18940 root 4u IPv4 23169 0t0 TCP *:socks (LISTEN) [root@generic-proxy-01 ~]# kill 18940 [root@generic-proxy-01 ~]# [root@generic-proxy-01 ~]# [root@generic-proxy-01 ~]# netstat -plant|grep 1080 [root@generic-proxy-01 ~]# lsof -i tcp:1080 [root@generic-proxy-01 ~]# [root@generic-proxy-01 ~]# [root@generic-proxy-01 ~]# ssh -NfgD1080 localhost bind: Address already in use