Imagine this situation:

you have a phone somevhere running this server:

but than for some reason server can not access network
But because that pone is in your office and you are at home, you can't restart the server on the phone... I guess logical solution would be to make phone try to reconnect.

So how would one handle this kind of a problem?

If I wasn't clear enough please let me know.