Last active
February 14, 2023 18:25
-
-
Save maphew/3af1acc1f659e98665ec19e53831bc03 to your computer and use it in GitHub Desktop.
Allow ArcGIS License Manager through the firewall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Run this on the LM server machine | |
setlocal | |
set _p=C:\ArcGIS\License_Manager\LicenseManager\bin | |
:inbound | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - arcgis" dir=in action=allow program="%_p%\arcgis.exe" enable=yes | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - lmgrd" dir=in action=allow program="%_p%\lmgrd.exe" enable=yes | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - LSA" dir=in action=allow program="%_p%\LSA.exe" enable=yes | |
:outbound | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - arcgis" dir=out action=allow program="%_p%\arcgis.exe" enable=yes | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - lmgrd" dir=out action=allow program="%_p%\lmgrd.exe" enable=yes | |
netsh advfirewall firewall add rule name="ArcGIS License Manager - LSA" dir=out action=allow program="%_p%\LSA.exe" enable=yes | |
goto :eof | |
:: --- Sources --- | |
:: https://esriaustraliatechblog.wordpress.com/2022/11/30/why-cant-i-connect-arcgis-pro-to-arcgis-license-manager/ | |
:: https://desktop.arcgis.com/en/license-manager/latest/configure-the-arcgis-license-manager-to-work-through-a-firewall.htm | |
:: ChatGPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment