How does the Craft CMS built-in web server works?
This just launches PHP's built in web server, documentation for it can be found here: https://www.php.net/manual/en/features.commandline.webserver.php

You can use php -s localhost:8000 instead

You can see available settings by running php -s

Yes you can run multiple versions on different ports

Hope this helps!