Remote control is a separate service (Headwind Remote) integrated with Headwind MDM. Are you sure you installed it?
If you mean changing the https port of the MDM control panel:
1. Update the parameter base.url in the XML config file (/var/lib/tomcat9/conf/Catalina/localhost/ROOT.xml), it should be
https://your-mdm.com:444 instead of
http://your-mdm.com.
Restart Tomcat to apply changes:
service tomcat9 restart
2. remove port forwarding rules:
/sbin/iptables -D PREROUTING -t nat -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8443
/sbin/iptables -D OUTPUT -t nat -o lo -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8443
3. Add new port forwarding rules:
/sbin/iptables -A PREROUTING -t nat -p tcp -m tcp --dport 444 -j REDIRECT --to-ports 8443
/sbin/iptables -A OUTPUT -t nat -o lo -p tcp -m tcp --dport 444 -j REDIRECT --to-ports 8443