config host and port