def _get_server_port():
    return int(sys.argv[1]) if len(sys.argv) >= 2 else 8000
Establish a connection to the Active Directory server.
dataset/ETHPy150Open unwitting/imageme/imageme.py/_get_server_port--crossover with--dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/client/win/bitlocker_ad_sync.py/BitLockerAdSync._ConnectToAd