Change default vnc-server port in Catalina
I've been unable to change the port in /System/Library/LaunchDaemons/com.apple.screensharing.plist
and for the life of me I cannot get the read only file to change. I have turned off the System Integrity Protection in order to change the file and it still will not let me edit it. I've used vi, vim and nano with no luck. My account has admin rights and I've sudo su'd into root, I've logged directly into the system as root and no matter what I do I cannot edit the read only file. I need to change the standard ports as I am setting up a Mac Mini as a remote home server for my rental property 5000 miles away and need it to be a reliable work horse so I won't need to pay someone every time I need a simple reboot... I also don't want to open port 5900 to the world. Would love to hear how to get this done. Thanks in advance!
Mac mini, macOS 10.14