Port detection should be after ace spawn