Stick to private ips for Azure

Should we put this `if` statement to have an `else` which results in using the code in line 42?