Dear Aayush,
I have tested the option in the configuration to set the API to a different port and it should work with options like this:
api_port = 1234
Another port conflict might happen with the discovery module, which also uses the same port in both instances. To disable the discovery, set the option "--nodiscovery" when starting the daemon.
Kind regards, Johannes Morgenroth
Am 20.06.2013 10:53, schrieb Aayush Rana:
Dear all,
Sorry for bothering all. I have started working in dtn since one week now. I am unable to configure it to create multiple nodes. I tried making different config files and starting them separately in same machine, but only the first one is started. The ones after that says api port not initialized. I changed api_port in config file, but all configs still tries to use port 4550.
Here is a sample of the log file: Thu Jun 20 15:52:34 2013 INFO: IBR-DTN daemon 0.8.0 (build 52345) Thu Jun 20 15:52:34 2013 INFO: Local node name: dtn://aayush-pc Thu Jun 20 15:52:34 2013 INFO: using bundle storage in memory-only mode Thu Jun 20 15:52:34 2013 INFO: DiscoveryAgent: broadcast mode 255.255.255.255:4551 Thu Jun 20 15:52:34 2013 INFO: StandByManager: IPNDAgent adopted Thu Jun 20 15:52:34 2013 INFO: Using default routing extensions Thu Jun 20 15:52:34 2013 INFO: Forwarding of bundles enabled. Thu Jun 20 15:52:34 2013 ERROR: Unable to bind to lo:4550. API not initialized!
With kind regards, Aayush Rana
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.