made hostname string to server empty, otherwise it only accepts requests to ‘localhost’ or whatever