[99s-extend] (no subject)

Loïc Hoguin essen at ninenines.eu
Thu Dec 12 12:06:10 CET 2013


Hi,

It sounds like you have a proxy of some kind on the same machine. The 
proxy would likely set a header with the real IP in it, or at least have 
an option for it.

On 12/12/2013 11:57 AM, Dagur Gunnarsson wrote:
> 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 ?|
> ||
>
>
> _______________________________________________
> Extend mailing list
> Extend at lists.ninenines.eu
> https://lists.ninenines.eu/listinfo/extend
>

-- 
Loïc Hoguin
http://ninenines.eu



More information about the Extend mailing list