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 "Koyfman, Oleg" <ol...@hp.com> on 2010/08/03 13:43:20 UTC
localhost is working, machine name does not
Hi,
I am using one of the given examples CommandLine class, and pass it "ftpd-typical.xml" configuration file. The ftp server is running and I can connect to it from my localhost using the name "localhost". But if I try to use it from another machine by its IP or even from the same machine with IP, it fails to connect.
I suspect, that there is something with IP bindings, but I couldn't find anything like it in the internet.
Does anybody knows what is the problem?
Thanks,
Oleg.
RE: localhost is working, machine name does not
Posted by "Koyfman, Oleg" <ol...@hp.com>.
Thanks David,
It is working! The binding of 0.0.0.0, however, didn't work.
Regards,
Oleg.
-----Original Message-----
From: David Latorre [mailto:dvlato@gmail.com]
Sent: Wednesday, August 04, 2010 11:17 AM
To: ftpserver-users@mina.apache.org
Subject: Re: localhost is working, machine name does not
Hello Oleg,
Just remove the "local-address" property in the listener configuration
so FTPServer will bind to all the available interfaces.
2010/8/3 Francis De Brabandere <fr...@gmail.com>:
> I suppose you could try binding to 0.0.0.0 that should bind to all interfaces
>
> On Tue, Aug 3, 2010 at 2:15 PM, Koyfman, Oleg <ol...@hp.com> wrote:
>> Ok, I found the problem. I was passing "localhost" as a binding address. Once I passed the machine name, I could connect to it from another machine, however, now I can't connect to a localhost. Can I pass few addresses to bind my ftp with?
>>
>> Thanks,
>> Oleg.
>>
>> -----Original Message-----
>> From: Koyfman, Oleg
>> Sent: Tuesday, August 03, 2010 2:43 PM
>> To: ftpserver-users@mina.apache.org
>> Subject: localhost is working, machine name does not
>>
>> Hi,
>>
>> I am using one of the given examples CommandLine class, and pass it "ftpd-typical.xml" configuration file. The ftp server is running and I can connect to it from my localhost using the name "localhost". But if I try to use it from another machine by its IP or even from the same machine with IP, it fails to connect.
>> I suspect, that there is something with IP bindings, but I couldn't find anything like it in the internet.
>> Does anybody knows what is the problem?
>>
>> Thanks,
>> Oleg.
>>
>
>
>
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the whole house.
>
Re: localhost is working, machine name does not
Posted by David Latorre <dv...@gmail.com>.
Hello Oleg,
Just remove the "local-address" property in the listener configuration
so FTPServer will bind to all the available interfaces.
2010/8/3 Francis De Brabandere <fr...@gmail.com>:
> I suppose you could try binding to 0.0.0.0 that should bind to all interfaces
>
> On Tue, Aug 3, 2010 at 2:15 PM, Koyfman, Oleg <ol...@hp.com> wrote:
>> Ok, I found the problem. I was passing "localhost" as a binding address. Once I passed the machine name, I could connect to it from another machine, however, now I can't connect to a localhost. Can I pass few addresses to bind my ftp with?
>>
>> Thanks,
>> Oleg.
>>
>> -----Original Message-----
>> From: Koyfman, Oleg
>> Sent: Tuesday, August 03, 2010 2:43 PM
>> To: ftpserver-users@mina.apache.org
>> Subject: localhost is working, machine name does not
>>
>> Hi,
>>
>> I am using one of the given examples CommandLine class, and pass it "ftpd-typical.xml" configuration file. The ftp server is running and I can connect to it from my localhost using the name "localhost". But if I try to use it from another machine by its IP or even from the same machine with IP, it fails to connect.
>> I suspect, that there is something with IP bindings, but I couldn't find anything like it in the internet.
>> Does anybody knows what is the problem?
>>
>> Thanks,
>> Oleg.
>>
>
>
>
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the whole house.
>
Re: localhost is working, machine name does not
Posted by Francis De Brabandere <fr...@gmail.com>.
I suppose you could try binding to 0.0.0.0 that should bind to all interfaces
On Tue, Aug 3, 2010 at 2:15 PM, Koyfman, Oleg <ol...@hp.com> wrote:
> Ok, I found the problem. I was passing "localhost" as a binding address. Once I passed the machine name, I could connect to it from another machine, however, now I can't connect to a localhost. Can I pass few addresses to bind my ftp with?
>
> Thanks,
> Oleg.
>
> -----Original Message-----
> From: Koyfman, Oleg
> Sent: Tuesday, August 03, 2010 2:43 PM
> To: ftpserver-users@mina.apache.org
> Subject: localhost is working, machine name does not
>
> Hi,
>
> I am using one of the given examples CommandLine class, and pass it "ftpd-typical.xml" configuration file. The ftp server is running and I can connect to it from my localhost using the name "localhost". But if I try to use it from another machine by its IP or even from the same machine with IP, it fails to connect.
> I suspect, that there is something with IP bindings, but I couldn't find anything like it in the internet.
> Does anybody knows what is the problem?
>
> Thanks,
> Oleg.
>
--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.
RE: localhost is working, machine name does not
Posted by "Koyfman, Oleg" <ol...@hp.com>.
Ok, I found the problem. I was passing "localhost" as a binding address. Once I passed the machine name, I could connect to it from another machine, however, now I can't connect to a localhost. Can I pass few addresses to bind my ftp with?
Thanks,
Oleg.
-----Original Message-----
From: Koyfman, Oleg
Sent: Tuesday, August 03, 2010 2:43 PM
To: ftpserver-users@mina.apache.org
Subject: localhost is working, machine name does not
Hi,
I am using one of the given examples CommandLine class, and pass it "ftpd-typical.xml" configuration file. The ftp server is running and I can connect to it from my localhost using the name "localhost". But if I try to use it from another machine by its IP or even from the same machine with IP, it fails to connect.
I suspect, that there is something with IP bindings, but I couldn't find anything like it in the internet.
Does anybody knows what is the problem?
Thanks,
Oleg.