Re: multiple services in one vm?

Niclas Hedhman <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Organization Private
Message-ID <[email protected]>
On Tuesday 23 January 2007 17:32, Mark Brouwer wrote:
> Niclas Hedhman wrote:
> > On Friday 19 January 2007 19:27, Mark Brouwer wrote:
> >> Dan Creswell wrote:
> >>> Just be wary because eth0 might not always be the right/valid
> >>> interface.
> >> "You can find out the name of your NIC with ifconfig -a or netstat -i.
> >> If somebody knows a better way, please let me know.
> >
> > Never tried it, but is there anything wrong with;
> >
> >  java.net.NetworkInterface.getNetworkInterfaces();

> I guess you mean the above as an auto-configuration option instead of
> the current behavior where all interface are expected to be multicast
> capable? I see no problem with that but it might hide the fact
> interfaces are ignored due to misconfiguration. Always hard to tell what
> the best way is to deal with these issues ...

Well, I agree but just responded to the "ifconfig || netstat" suggestion,
which doesn't seem to add anything except parsing headache ;o)


Cheers
Nickas

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.