> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
Mac OS X used to ship with a wide variety of open source software such as Samba or CUPS. Most of that stuff is removed nowadays but some is still present. Many networking services can be easily activated using the settings app.
The CUPS software is still available in Ventura and it comes with version 2.3.4. This version is more up-to-date compared to the latest release of CUPS from Apple on Github and it doesn't match any releases in OpenPrinting CUPS.