puppetmaster requires a web server software to run on. By default puppetmaster comes with webrick pre-installed. However you can change this to anything you want. webrick has big drawback that it isn’t scalable.
Puppet enterprise on the other hand is scalable and that is because it comes pre-installed with “passenger” instead of “webrick”. Passenger is actually optimised for scalability.