SSHRD_Script
SSHRD_Script copied to clipboard
Creating Listening port 2222 for device port 22 error in iPhone 6S
Hi,
I have iOS 15.7.2 6s and I'm stuck on this screen. You said killall iproxy but I couldn't find how to do it. Can you teach me how to do killall iproxy?
As the message says, port 2222 is already being used by another process ( which in this case might be a process started in the previous invocation of ./sshrd.sh script ( e.g iproxy ) )
You can do the following:
Run netstat -an --program | grep :2222 as root. The last column lists the process-id / process-name
You can terminate that process by pid
kill -9 <pid>
Running netstat -an --program | grep :2222 as root again should not list anything.