Hi Norbert,
<br/>I found it in the "x-forwarded-for" entry header dict.
<br/>Thank you!
<br/>Sabine
<br/><br/>On Thu, Apr 11, 2013 at 5:36 PM, Norbert Hartl [via Smalltalk]
<br/><<a href="/user/SendEmail.jtp?type=node&node=4680884&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><br/>> Sabine,
<br/>>
<br/>> if you have a normal setup that would mean you use a front-end web server
<br/>> that accepts requests and forward them to the smalltalk image. In this case
<br/>> the connection would go from 127.0.0.1 to 127.0.0.1 so the information you
<br/>> are requesting is valid. In this case it is also common that the front-end
<br/>> server writes the originating IP address in a http header. Have a look at
<br/>>
<br/>> <a href="http://en.wikipedia.org/wiki/X-Forwarded-For" target="_top" rel="nofollow" link="external">http://en.wikipedia.org/wiki/X-Forwarded-For</a><br/>>
<br/>> Then I would advize to have a look at the headers of the request in
<br/>>
<br/>> self requestContext request headers
<br/>>
<br/>> to find any header containing the information you are looking for in case it
<br/>> is not the one above.
<br/>>
<br/>> Norbert
<br/>>
<br/>> Am 11.04.2013 um 17:21 schrieb Milan Mimica <[hidden email]>:
<br/>>
<br/>> If there is a Http proxy running on your server you will get its ip address.
<br/>>
<br/>>
<br/>> On Thursday, 11 April 2013, Sabine Knöfel <[hidden email]> wrote:
<br/>>> Hi,
<br/>>>
<br/>>> I want to get the ip adress of the user with:
<br/>>>
<br/>>> self requestContext request remoteAddress
<br/>>>
<br/>>> But this returns always 127.0.0.1, also on the remote system.
<br/>>>
<br/>>> E.g. <a href="http://ec2-176-34-68-88.eu-west-1.compute.amazonaws.com/" target="_top" rel="nofollow" link="external">http://ec2-176-34-68-88.eu-west-1.compute.amazonaws.com/</a><br/>>> in the first line of the page, I did
<br/>>>
<br/>>> html text: self requestContext request remoteAddress.
<br/>>>
<br/>>> I would expect the ip adress of my provider
<br/>>>
<br/>>> Did I miss somethng?
<br/>>>
<br/>>> Sabine
<br/>>>
<br/>>>
<br/>>>
<br/>>> --
<br/>>> View this message in context:
<br/>>> <a href="http://forum.world.st/self-requestContext-request-remoteAddress-always-127-0-0-1-tp4680862.html" target="_top" rel="nofollow" link="external">http://forum.world.st/self-requestContext-request-remoteAddress-always-127-0-0-1-tp4680862.html</a><br/>>> Sent from the Seaside General mailing list archive at Nabble.com.
<br/>>> _______________________________________________
<br/>>> seaside mailing list
<br/>>> [hidden email]
<br/>>
<br/>>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>>>
<br/>>
<br/>> --
<br/>> Milan Mimica
<br/>> <a href="http://sparklet.sf.net" target="_top" rel="nofollow" link="external">http://sparklet.sf.net</a><br/>> _______________________________________________
<br/>> seaside mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>>
<br/>>
<br/>>
<br/>> _______________________________________________
<br/>> seaside mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>>
<br/>>
<br/>> ________________________________
<br/>> If you reply to this email, your message will be added to the discussion
<br/>> below:
<br/>> <a href="http://forum.world.st/self-requestContext-request-remoteAddress-always-127-0-0-1-tp4680862p4680880.html" target="_top" rel="nofollow" link="external">http://forum.world.st/self-requestContext-request-remoteAddress-always-127-0-0-1-tp4680862p4680880.html</a><br/>> To unsubscribe from self requestContext request remoteAddress always
<br/>> 127.0.0.1, click here.
<br/>> NAML
<br/></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/self-requestContext-request-remoteAddress-always-127-0-0-1-tp4680862p4680884.html">Re: self requestContext request remoteAddress always 127.0.0.1</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>