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

前端 未结 6 637
情歌与酒
情歌与酒 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 14:58

    Hello I had the same problem in my mac and running the app in android device. I had to do following 2 things to make it work:

    1. Switch firewall off in the mac
    2. Enable the infrared receiver (System Pref > Security > Firewall > Advanced)

    And it worked!

提交回复
热议问题