How to change the default WEB service port in MDS?

As I have learned, the default port of Munkireport in MDS is 8881, and the default port of Munki is 4443. I tried to modify the port in the web service but it doesn’t seem to work. They will not change.
By the way, can I run munkireport and munki on other servers separately, and I can still make a dmg file with MDS?

I believe we discussed this in slack and I couldn’t replicate the issue. Is that the case?