kevingK
Deno3y ago
4 replies
keving

remoteAddr returning localhost on Deno Deploy

I saw this thread (helpHow do i get the IP address of a request in Fresh | Deno?) 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?
Was this page helpful?