Fixed the client script to use a dynamic host name so this works locally
and on server.