Why is ::connect() returning EHOSTUNREACH when ssh works fine?

Posted by WilliamKF on Stack Overflow See other posts from Stack Overflow or by WilliamKF
Published on 2010-06-05T16:07:44Z Indexed on 2010/06/05 16:12 UTC
Read the original article Hit count: 238

Filed under:
|
|

I am calling ::connect() in my application and it works fine in general, however, between two particular machines, from one to the other, it fails with EHOSTUNREACH which means "No route to host."

If I can ssh with no problems, what might be going on here that ::connect() always fails for this particular machine pair?

© Stack Overflow or respective owner

Related posts about sockets

Related posts about ssh