Warning: remote port forwarding failed for listen port 52698

后端 未结 5 2007
萌比男神i
萌比男神i 2021-01-30 13:00

I\'m using SSH to access my university\'s afs system. I like to use rmate (remote TextMate), which requires SSH tunneling, so I included this alias in my .bashrc. <

5条回答
  •  清酒与你
    2021-01-30 13:42

    I had the same problem. In order to find the port that is already open, you have to issue this command on the 'corn.myschool.edu' computer:

    sudo netstat -plant  | grep 52698
    

    And then kill all of the processes that come up with this (replace xxxx with the process ids)

    sudo kill -9 xxxx
    

    (UPDATED: changed the option to be -plant as it is a nice mnemonic)

提交回复
热议问题