config get host and port info automatically so it doesn't have to be hard-coded. The same code will now run locally or remotely.