[99s-extend] (no subject)

Dagur Gunnarsson dagurg at gmail.com
Thu Dec 12 11:57:42 CET 2013


Hi,

I am using cowboy for our financial webservice platform.  We use token
based authentication, but I want to give certain ip adresses full access
without authentication.  I tried :

{{IP, Port}, Req2} = cowboy_req:peer(Req).

but IP is always {127,0,0,1} - even on production (where request
are comming from different networks)

So my question is basically, Is there any way for me to see
frow which IP adresses the request is comming ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20131212/2697fbaa/attachment.html>


More information about the Extend mailing list