Configure host and port