why is the url localhost, don't we want the IP address of the server to come from a configuration file?