8 reputation
15
bio website
location
age
visits member for 2 years, 9 months
seen Jan 23 '12 at 12:35

Sep
17
awarded  Notable Question
Dec
19
awarded  Popular Question
Jan
19
awarded  Scholar
Jan
19
awarded  Commentator
Jan
19
accepted ssh error - bind to port 22 failed: Address already in use
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
Success! I managed to connect using my android phone using 3g. Turns out that I cannot forward port 22 for some reason. The combination of changing the port to 46000 and trying to ssh in from a different IP address worked. I must have completely forgotten to change the port when I was trying to ssh in from my phone earlier :( Thank you so much for your help!
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
I really appreciate the help, thank you very much :) I will try this tomorrow I must go to sleep now
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
I believe so. yougetsignal.com/tools/open-ports is what I'm using to check if my ports are fowarded. I have 46000 forwarded for 192.168.1.12 and 46566 for 192.168.1.5 (my desktop). Both correctly show as being open whilst all other ports come up as closed. I cannot get a friend to test at this minute, but I have tried connecting on my android phone over 3g and I get connection refused also
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
I think I can confirm the port change was successful. I can still access my server using the IP 192.168.1.12 with port 46000. I must apologize, the port checker is now saying that 46000 is open and seems to be trustworthy
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
Then again, if I use the same method for port forwarding as I do successfully for my deskop and utorrent, then It should be working correctly.
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
Hi, thanks for your answer. My router does have a firewall and I have just tried disabling it without any luck. I have also checked the log and there is nothing there about refusing connections. I've also tried using port 46000 but still have the same issue. I'm assuming this would have resolved the situation if my ISP was blocking 22. I must not be forwarding the port correctly as I've ran a port checker on my server and it confirms the port 46000 is not open.
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
@SuperMagic you are right. My mistake. I believe I'm suffering from a port forwarding issue then.
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
I've set up port forwarding on port 22 for 192.168.1.12 and I've obtained my IP from whatismyip.com
Jan
19
awarded  Student
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
updated answer. I'm using Ubuntu server
Jan
19
revised ssh error - bind to port 22 failed: Address already in use
added 363 characters in body
Jan
19
awarded  Editor
Jan
19
revised ssh error - bind to port 22 failed: Address already in use
added 180 characters in body
Jan
19
comment ssh error - bind to port 22 failed: Address already in use
ok i'll update my question. thanks
Jan
19
asked ssh error - bind to port 22 failed: Address already in use