Re: Bind sfDaemon to a specific interface
"Phillip Thurmond" <[email protected]> Thu, 14 Dec 2006 17:11:08 -0600
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <[email protected]> |
It seems that no matter what this variable is set to, sfDaemon still binds to all local interfaces. $ export SFSERVERHOSTNAME=10.1.5.2 $ sfDaemon $ netstat --listening | grep 3800 tcp6 0 0 *:3800 *:* LISTEN Although sfDaemon is still listening on the localhost interface, it will only accept deployments on the 10.1.5.2 interface. This looks like a bug to me. After a brief look, I wasn't able to find the code that was doing the actual binding. Can anyone help? --Phillip On 12/14/06, Guijarro, Julio <[email protected]> wrote: > Hi Phillip, > > You only need to define an environment variable called SFSERVERHOSTNAME. > Ex windows: set SFSERVERHOSTNAME=localhost > > Alternatively go to bin/setSFDefaultProperties and uncomment and modify > the line where that variable is defined. > > Julio > > -----Original Message----- > From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of > Phillip Thurmond > Sent: 13 December 2006 17:20 > To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > Subject: [Smartfrog-support] Bind sfDaemon to a specific interface > > Maybe I'm missing it, but I couldn't figure out how to bind sfDaemon > to a specific interface rather than localhost. Is this possible? I > have several dummy interfaces on my computer which I use for testing, > and I'd like to run multiple daemons at once. Thanks. > > --Phillip > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > Smartfrog-support mailing list > Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV