Use Android device as a simple server
<p>I need a very simple server that listens for connections, retrieves a question and simply answers yes or no. Then the connection is broken.</p>

<p>As my Android device is the only device that is powered on and connected to the internet 24/7, I'm thinking of using it as the server.</p>

<p>Is this possible, and how could I achieve this? The biggest problems that I'm facing is the ip-address, as it could be changing a lot. I'm thinking of storing it in a public dropbox file, so the client can retrieve the address from that</p>
