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

Junxiao Shi shijunxiao at email.arizona.edu
Wed Jul 20 15:34:44 PDT 2016


Hi Muktadir

This example works for me. I have Linux Mint 17 (based on Ubuntu 14.04) and NFD 0.4.1-1-g704430c.


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

From: Muktadir R Chowdhury (mrchwdhr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160720/5f6a219c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9B10DCF0EAB9426190CF538F34DBA970.png
Type: image/png
Size: 201401 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160720/5f6a219c/attachment.png>


More information about the Nfd-dev mailing list