SSHRD_Script icon indicating copy to clipboard operation
SSHRD_Script copied to clipboard

Creating Listening port 2222 for device port 22 error in iPhone 6S

Open forbidden159 opened this issue 2 years ago • 1 comments

2B5C0C22-F561-42D7-959D-5CB808E70949 4A8B941C-30D2-4FEA-AA88-CDCCFCAD4E13 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?

forbidden159 avatar Mar 16 '23 04:03 forbidden159

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.

iDev27 avatar Jun 19 '23 08:06 iDev27