Hi Norbert,
<br/>I found it in the &quot;x-forwarded-for&quot; entry header dict.
<br/>Thank you!
<br/>Sabine
<br/><br/>On Thu, Apr 11, 2013 at 5:36 PM, Norbert Hartl [via Smalltalk]
<br/>&lt;<a href="/user/SendEmail.jtp?type=node&node=4680884&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br/>&gt; Sabine,
<br/>&gt;
<br/>&gt; if you have a normal setup that would mean you use a front-end web server
<br/>&gt; that accepts requests and forward them to the smalltalk image. In this case
<br/>&gt; the connection would go from 127.0.0.1 to 127.0.0.1 so the information you
<br/>&gt; are requesting is valid. In this case it is also common that the front-end
<br/>&gt; server writes the originating IP address in a http header. Have a look at
<br/>&gt;
<br/>&gt; <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/>&gt;
<br/>&gt; Then I would advize to have a look at the headers of the request in
<br/>&gt;
<br/>&gt; self requestContext request headers
<br/>&gt;
<br/>&gt; to find any header containing the information you are looking for in case it
<br/>&gt; is not the one above.
<br/>&gt;
<br/>&gt; Norbert
<br/>&gt;
<br/>&gt; Am 11.04.2013 um 17:21 schrieb Milan Mimica &lt;[hidden email]&gt;:
<br/>&gt;
<br/>&gt; If there is a Http proxy running on your server you will get its ip address.
<br/>&gt;
<br/>&gt;
<br/>&gt; On Thursday, 11 April 2013, Sabine Knöfel &lt;[hidden email]&gt; wrote:
<br/>&gt;&gt; Hi,
<br/>&gt;&gt;
<br/>&gt;&gt; I want to get the ip adress of the user with:
<br/>&gt;&gt;
<br/>&gt;&gt; self requestContext request remoteAddress
<br/>&gt;&gt;
<br/>&gt;&gt; But this returns always 127.0.0.1, also on the remote system.
<br/>&gt;&gt;
<br/>&gt;&gt; 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/>&gt;&gt; in the first line of the page, I did
<br/>&gt;&gt;
<br/>&gt;&gt; html text: self requestContext request remoteAddress.
<br/>&gt;&gt;
<br/>&gt;&gt; I would expect the ip adress of my provider
<br/>&gt;&gt;
<br/>&gt;&gt; Did I miss somethng?
<br/>&gt;&gt;
<br/>&gt;&gt; Sabine
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; --
<br/>&gt;&gt; View this message in context:
<br/>&gt;&gt; <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/>&gt;&gt; Sent from the Seaside General mailing list archive at Nabble.com.
<br/>&gt;&gt; _______________________________________________
<br/>&gt;&gt; seaside mailing list
<br/>&gt;&gt; [hidden email]
<br/>&gt;
<br/>&gt;&gt; <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/>&gt;&gt;
<br/>&gt;
<br/>&gt; --
<br/>&gt; Milan Mimica
<br/>&gt; <a href="http://sparklet.sf.net" target="_top" rel="nofollow" link="external">http://sparklet.sf.net</a><br/>&gt; _______________________________________________
<br/>&gt; seaside mailing list
<br/>&gt; [hidden email]
<br/>&gt; <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/>&gt;
<br/>&gt;
<br/>&gt;
<br/>&gt; _______________________________________________
<br/>&gt; seaside mailing list
<br/>&gt; [hidden email]
<br/>&gt; <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/>&gt;
<br/>&gt;
<br/>&gt; ________________________________
<br/>&gt; If you reply to this email, your message will be added to the discussion
<br/>&gt; below:
<br/>&gt; <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/>&gt; To unsubscribe from self requestContext request remoteAddress always
<br/>&gt; 127.0.0.1, click here.
<br/>&gt; 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/>