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
This looks like a networking problem not a Java problem. Either:
(The "No route to host" message suggests that it is the first problem, but firewalls are sometimes configured to give misleading responses to traffic that is unwanted.)
Anyway, you would be better off looking for a site on how to configure and / or networks and routing.