DenoDDeno
Powered by
kevingK
Deno•3y 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
ctx.remoteAddr
with Fresh on Deno Deploy and I get
{ transport: "tcp", hostname: "localhost", port: 1234 }
{ transport: "tcp", hostname: "localhost", port: 1234 }
instead of an IP address – is there something I need to configure to get "real" values?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno KV on deno deploy
MolanMMolan / help
11mo ago
Failed deployment Deno Deploy
ssimonlpSssimonlp / help
16mo ago
WebSockets on Deno Deploy
WafflemancerWWafflemancer / help
9mo ago
deno queues on deploy
tigawanaTtigawana / help
3y ago