Why Mac cannot connect to Iphone?

Posted by martin08 on Server Fault See other posts from Server Fault or by martin08
Published on 2010-06-12T21:56:59Z Indexed on 2010/06/12 22:03 UTC
Read the original article Hit count: 439

Filed under:
|
|

I couldn't always ssh to my iPhone from my Mac. They're both on the same wifi network but sometimes the connection is established, sometimes it failed. From my Mac:

$ ssh [email protected]
ssh: connect to host 192.168.0.102 port 22: Operation timed out
$ ping 192.168.0.102 
PING 192.168.0.102 (192.168.0.102): 56 data bytes
ping: sendto: No route to host
ping: sendto: Host is down
ping: sendto: Host is down

I enabled SSH on the phone and am sure it can load webpages. So what might be a reason why they cannot connect?

Thanks

© Server Fault or respective owner

Related posts about ssh

Related posts about mac