chenliguo | 26 Dec 06:17 2006
Picon

答复: Re: [JXTA user] JXTA private net problems


Hello all:

 My private net working very good in a subnet,but can not working in the
Internet.
 Peer can not discovered other peer in the Internet.
 How use the NetworkConfigurator class?
 What PlatformConfig file should be content?
 How deploy private net working in the Internet?
 Have the best practice?


thanks.





(See attached file: my private net.jpg)


(Embedded image moved to file: pic04734.pcx)






                                                                     
                                                                     
(Continue reading)

chenliguo | 16 Dec 04:44 2006
Picon

答复: Re: [JXTA dev] Private network demo


Hi all:

When each time start jxta platform why PeerIDs each time all different?
And correlative peer advertisement with new PeerID is discovered in my
private network again.
But i need a peer advertisement.How should I do ?
Why?

Thanks.



code following:
...
config.setPeerId(peerId);  //The peerId is fixed
config.setName(instanceName);
config.setDescription("Created by Network Manager");
config.setMode(NetworkConfigurator.EDGE_NODE);
//config.setMode(NetworkConfigurator.RDV_SERVER +
NetworkConfigurator.RELAY_SERVER);
//config.setMode(NetworkConfigurator.RDV_RELAY_PROXY_NODE);
config.setPrincipal(principal);
config.setPassword(password);
...

NetPeerGroupFactory factory  = new NetPeerGroupFactory((ConfigParams)
config.getPlatformConfig(), instanceHome.toURI());
netPeerGroup = factory.getInterface();
System.out.println("NetPeerGroup ID:"+
(Continue reading)


Gmane