make host/port configurable