Auto choose the port.