Hi, is there a way that i can find out the ip that a service is getting externally?
I have a site www.mysite.com that can be load balances between 2 ips
1.1.1.1
2.2.2.2
I am in my corporate network, so i want to know which ip is the service going externallly
I want to ping www.mysite.com externally and return the ip
I tried with:
$url= 'http://freegeoip.net/csv/www.mysitecom' $ip = Invoke-RestMethod $urlmodels
But if i run the script internally it returns my ip, not the one from the service.
Is there a way to do it?
Thanks