Make ip and port configurable