2018-03-14 11:14 GMT+01:00 Julien <julien.delplan...@inria.fr>: > What do you mean by your IP address, on your local network or the one seen > by external servers when you connect to them? >
I need address in my local network. > > If I remember well, the IP address seen by computers outside your local > network is not the IP address of your actual computer but the one of the > router connecting your local network to the outside web. > > I am not sure you can get the outside IP address without asking it to a > computer outside your local network but I might be wrong. > > Julien > > --- > Julien Delplanque > Doctorant à l’Université de Lille 1 > http://juliendelplanque.be/phd.html > Equipe Rmod, Inria > Bâtiment B 40, Avenue Halley 59650 > <https://maps.google.com/?q=40,+Avenue+Halley+59650+Villeneuve+d'Ascq&entry=gmail&source=g> > Villeneuve > <https://maps.google.com/?q=40,+Avenue+Halley+59650+Villeneuve+d'Ascq&entry=gmail&source=g> > d'Ascq > <https://maps.google.com/?q=40,+Avenue+Halley+59650+Villeneuve+d'Ascq&entry=gmail&source=g> > Numéro de téléphone: +333 59 35 86 40 <+33%203%2059%2035%2086%2040> > > Le 14 mars 2018 à 11:07, Denis Kudriashov <dionisi...@gmail.com> a écrit : > > Hello. > > Do we have a way to retrieve IP address from Pharo? > I tried to use following code: > > NetNameResolver addressForName: NetNameResolver localHostName > > But it either not works (dialog with retry give-up options) or returns > localhost 127.0.0.1. > > Best regards, > Denis > > >