Categories
Blog

Change Default Screen Sharing / VNC Port on macOS

sudo vi /etc/services

Search 5900 and edit it.

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist