Why is ::connect() returning EHOSTUNREACH when ssh works fine?
- by WilliamKF
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?