backend.py 187 Bytes
import socket
from bottle import get, run

@get('/')
def main_page() :
    return "Hello from %s\n" % socket.gethostname()

if __name__ == "__main__" :
    run(host='0.0.0.0', port=8000)