Port detection? Thread management? These things have nothing to do with next.js right?