reverting getNextAvailablePort hack to keep existing default