Hooking up hostname and port to defaults and command line