title: TCP - JAVA - How to find a server on a local network?
body: <p>I have two android devices and they are connected to a same WiFi network. One device acts as the server and the other acts as the client. I don't know the ip of the server but I know the port number. How can I find the server and connect to it?</p>