8 ms·
Why does no web framework let the operating system give them a free port?
by legulere 5y ago
Why does no web framework let the operating system give them a free port?
- Denvercoder9 5y agoBecause having the port change on every run is annoying for developers.
- masklinn 5y agoAnd it complicates quickstarts. “Open your browser to localhost:5000” is way easier than “look at the command line, find the line starting with “listening on”, copy the URL (hope you’re not such a beginner you’re unaware it’s C-S-c on linux and have just killed the process scrub), paste that in your browser.
- ratww 5y agoLots of them do. They try, for example, 8080, then 8081, then 8082, and so on.