[Ndn-interest] [jndn] Remote prefix registration (#6)

Junxiao Shi shijunxiao at email.arizona.edu
Wed Feb 25 07:16:09 PST 2015

Hi Bassem

jndn currently supports localhost prefix registration only.
NFD treats loopback address as localhost. is not a loopback
address despite that it's on same machine.
A localhost registration, when sent to a non-local face, will be silently

It's intentional for NFD to interpret non-loopback address of same machine
as non-local, otherwise proxy app for new socket type or wire format won't
be able to create a non-local face without requiring a separate machine.

Yours, Junxiao
On Feb 25, 2015 8:06 AM, "Bassem Labib" <bassem.labib at gmail.com> wrote:

> Hi Jeff,
> While I'm testing the jndn to register a Prefix using
> *TestPublishAsyncNfd.java* under *test* package, It works fine and
> register the "/testecho" prefix successfully only when using the default
> host Face or using "localhost" and loop back address "", *but*
> when using the IP address assigned to the same machine as ""*
> it didn't work (Timeout)* and I notes it registers on *NDNx* and print
> out the following:
> Register prefix  /testecho
> Feb 25, 2015 4:40:45 PM net.named_data.jndn.Node$RegisterResponse onTimeout
> INFO: Timeout for NFD register prefix command. Attempting an NDNx
> command...
> Feb 25, 2015 4:40:49 PM net.named_data.jndn.Node$NdndIdFetcher onTimeout
> INFO: Register prefix failed: Timeout fetching the NDNx ID
> Register failed for prefix /testecho
> please help, I need an explain this situation.
> Best Regards,
> Bassem Labib
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150225/66a786ed/attachment.html>

More information about the Ndn-interest mailing list