#remoteAddr returning localhost on Deno Deploy

4 messages · Page 1 of 1 (latest)

sonic patrol
#

I saw this thread (https://discord.com/channels/684898665143206084/1055631150787334184) about getting the IP of the requester, but I'm not getting the value I expected.

I tried using ctx.remoteAddr with Fresh on Deno Deploy and I get { transport: "tcp", hostname: "localhost", port: 1234 } instead of an IP address – is there something I need to configure to get "real" values?

golden jasper
#

@edgy notch any ideas? I feel like I remember there being an open issue about this.

sonic patrol
edgy notch
#

apologies, I haven't had time yet to look at that