[Nfd-dev] [Ndn-interest] (NDN-js) query localhost from browser?

Junxiao Shi shijunxiao at email.arizona.edu
Sat Jul 23 13:14:59 PDT 2016


Dear folks

A patch for this issue has been merged into NFD master branch
Workarounds are no longer necessary once you upgrade NFD to
commit 4a4ccfe7d65a5cadf91a70533e3d458ab91fa27c or higher.

Yours, Junxiao

On Thu, Jul 21, 2016 at 10:56 AM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Dear folks
>
>
>
> The example was working for me yesterday, but isn’t working today. This
> turns out to be NFD Bug 3682 <https://redmine.named-data.net/issues/3682>.
>
>
>
> The workaround is to specify new Face({host:'[::1]'})
>
> OR in nfd.conf, set face_system.websocket.enable_v6=no.
>
>
>
> Yours, Junxiao
>
>
>
> *From: *Junxiao Shi <shijunxiao at email.arizona.edu>
> *Sent: *Wednesday, July 20, 2016 15:34
> *To: *Muktadir R Chowdhury (mrchwdhr) <mrchwdhr at memphis.edu>; Lixia Zhang
> <lixia at CS.UCLA.EDU>; Jeff Thompson <jefft0 at remap.UCLA.edu>
> *Cc: *nfd-dev at lists.cs.ucla.edu
> *Subject: *RE: [Nfd-dev] [Ndn-interest] (NDN-js) query localhost from
> browser?
>
>
>
> Hi Muktadir
>
>
>
> This example works for me. I have Linux Mint 17 (based on Ubuntu 14.04)
> and NFD 0.4.1-1-g704430c.
>
> [image: cid:image003.png at 01D1E29C.3C06CFF0]
>
>
>
> In the source code of this webpage, I notice it’s connecting to
> ws://localhost:9696/ .
>
> It’s better to change this to ws://127.0.0.1:9696/ in case the DNS
> resolver is not resolving ‘localhost’ to a loopback address. A WebSocket
> face is considered local only if it uses a loopback address.
>
>
>
> Yours, Junxiao
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160723/e4971198/attachment.html>


More information about the Nfd-dev mailing list