Hi,

Try examining request headers eg

header X-AppEngine-Country = AU
header X-AppEngine-City = sydney


Regards


On Tuesday, May 28, 2019 at 3:00:30 AM UTC+10, renaud hedde wrote:
>
> Hi,
>
> I'm working on cloud function projet with nodejs express
>
> I'm trying to get the request user city location.
>
> My request coming from france but every test I get the google US "mountain 
> view" location....
>
> I'm trying 3 differents technique to get ip
>
>    - req.connection.remoteAddress
>    - x-appengine-user-ip
>    - x-forwarded-for
>
> Also  I config express with* app.set('trust proxy', true);*
>
> But anycase I got google server IP instead request user ip ?
>
> many thanks
>
> renaud
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/738f006b-29aa-447e-9d06-67d0e0e15d20%40googlegroups.com.

Reply via email to