Auto discover a web server hosting PHP script

275 views Asked by At

Having a simple PHP script running on a web server in my local network, how can I auto discover this script (or better the server hosting the script) using an external client (e.g., an Android app).

I am aware that this will not be possible with a pure PHP script hosted on a web server. I need to bind a socket to the broadcast address 255.255.255.255 or some multicast address.

Maybe a python script could do, e.g., http://stuvel.eu/blog/186/start-xbmc-from-remote Apache ZooKeeper seems interesting but too big and complicated at the same time.

What other options are their? Does some of the "big" web servers provide some kind of easy to use service discovery?

0

There are 0 answers