How to disable httpd default port 80?

I use services.wordpress which enables services.httpd behind the scene. The problem is I only want the port I specified in my wordpress’s services.wordpress.<name>.virtualHost.listen.*.port, but httpd also automatically listens to port 80. I want to leave this port 80 for another application.

Here is the 19.09 answer:

services.httpd.listen = [ { port = wordpress_port; } ];

Here is the 20.03 answer:

# what you had just works

I haven’t tested these and I’m going off memory… let me know if that doesn’t work and I can look at some code and confirm the proper answer.