autodiscovering com ports