Determinación de la dirección IP del nodo que ejecuta la llamada UrlFetchApp

For a Web API call via UrlFetchApp in a Google Apps Script I have to submit the HTTP client IP (via HTTP-GET) for authentification (namecheap.com API).

Is there a way to determine the IP address of the node that will execute the UrlFetchApp call for adding it to the query URL?

preguntado el 29 de julio de 12 a las 11:07

Were you able to solve this issue? I am in the same situation at the moment. -

No. I used a different API from a different provider. -

1 Respuestas

No, it is not possible. However, Google does provide you with a range of IP addresses through which the call will be made:

64.18.0.0 - 64.18.15.255
64.233.160.0 - 64.233.191.255
66.102.0.0 - 66.102.15.255
66.249.80.0 - 66.249.95.255
72.14.192.0 - 72.14.255.255
74.125.0.0 - 74.125.255.255
173.194.0.0 - 173.194.255.255
207.126.144.0 - 207.126.159.255
209.85.128.0 - 209.85.255.255
216.239.32.0 - 216.239.63.255

Fuente: https://developers.google.com/apps-script/guides/jdbc#creating_other_database_connections

Respondido 03 Feb 20, 15:02

Can someone confirm the above mentioned list of #google-apps-script #ip-addresses is up to date? - propjk007

These IP addresses were working for the last 5 months or so, but I just encountered a case where google sheets is accessing a server from another IP address. - JSK NS

Me too. The addresses I logged are 107.178.192.138, 107.178.192.142, 107.178.192.146 - Jimadina

Are these adressess still valid? - Utsav Gupta

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.