fixed an issue with the client application only using localhosts