TCP\IP client - EHOSTUNREACH (No route to host)

前端 未结 6 628
情歌与酒
情歌与酒 2020-11-28 14:19

I am trying to develop a client server TCP/IP application. I have a server running on my PC and the client app is running on the mobile. They both are in the same Wi-Fi netw

6条回答
  •  春和景丽
    2020-11-28 15:09

    Yep..

    The host is unreachable, just like that. However, if everything is oK (well configured node/network, good wifi signal,..) You can force the process using ping serverIP (from phone) or ping smartphone (from server).

    The ping (ICMP packets) will force the router to speedup the new routing (way to reach the host)... send lot of pings (-n option) eg: ping google.com -n 1000 (1000 consecutive pings)

提交回复
热议问题