You can also use the following command to add the port exceptions automatically to the Windows Firewall:
netsh advfirewall firewall Add rule name="Sage 50 port range" dir=in protocol=tcp localport=13530-13580 action=allow