set the server and port via options