You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Matthew McShane <mm...@email.com> on 2009/02/20 20:51:53 UTC

Listener Binding

Hello,

Is it possible to bind a Listener to a particular NetworkInterface? Or, failing that, to a particular IP address? The host on which I'd like to run my FTP server has 3 NICs and I only want the FTP server listening on one of them.

Thanks,
Matt.


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


Re: Listener Binding

Posted by Kevin Conaway <ke...@gmail.com>.
Can you use ListenerFactory#setServerAddress() to set the IP address of the
of the NIC in question?

On Fri, Feb 20, 2009 at 2:51 PM, Matthew McShane <mm...@email.com> wrote:

> Hello,
>
> Is it possible to bind a Listener to a particular NetworkInterface? Or,
> failing that, to a particular IP address? The host on which I'd like to run
> my FTP server has 3 NICs and I only want the FTP server listening on one of
> them.
>
> Thanks,
> Matt.
>
>
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com
>
>