I am trying to access contextToken from provider hosted apps for sharepoint online from my intranet but its returning null and while access this with open internet its working fine.
Kindly let me know which port need to open to access contextToken from provider hosted apps.
Kaps
Pune