LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Problems with ftp server bind: address allready in use (https://www.linuxquestions.org/questions/linux-distributions-5/problems-with-ftp-server-bind-address-allready-in-use-213509/)

Diode 08-04-2004 07:16 PM

Problems with ftp server bind: address allready in use
 
Hi all,

Long time no post, but I have a problem. I am running a small server with a mac and linux box. The linux box is a router for the mac, so I can share internet connections from my cable modem. The problem is that I get the following output from trying to recieve a directory list.

diode@hellfyr:~$ ftp x.xx.xxx.xxx 1026
Connected to x.xxx.xx.xxx.
220 This is a private FTP server, everything is logged :)
Name (xxx.xxx.xxx.xxx:diode):user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 Illegal PORT command.
ftp: bind: Address already in use
ftp>


I first thought it was my firewall and such, but I took down the SuSE firewall ( I am running suse if u cant tell), and the same exact results. Can anybody please help me resolve this issue, it has had me puzzled for awhile. TYIA

win32sux 08-04-2004 07:20 PM

try using a passive connection with "ftp -p" instead, see if it helps...

Diode 08-04-2004 07:22 PM

Still no dir list
 
ftp> ls
227 Entering Passive Mode (66,214,54,60,127,57)

Just hangs, no activity, no dir list.

win32sux 08-04-2004 07:33 PM

where are you trying to connect from?? this might be a firewall issue...

you have the ftp server listening on the standard port (21), right??

Diode 08-04-2004 07:49 PM

no
 
port 1028

I said I turned the firewall off and the same results so we can safly elimate that.

win32sux 08-05-2004 07:43 AM

okay, so where are you connecting from?? the LAN?? the INTERNET??

are you trying to connect from the machine that had the firewall?? are you sure you don't have iptables running on the server also?? i'm just making sure and trying to get a clearer picture of your situation... it looks like something is affecting the comunication between the server and the client you're accessing from...

have you tried making the server listen on port 21 to see if it helps???

apnatech 11-18-2009 01:27 AM

Thanks a lot , it worked
 
Quote:

Originally Posted by win32sux (Post 1088844)
try using a passive connection with "ftp -p" instead, see if it helps...

thanks a lot, it worked.

marins 04-21-2020 11:50 AM

Quote:

Originally Posted by win32sux (Post 1088844)
try using a passive connection with "ftp -p" instead, see if it helps...


11 years later, this helped me too so thanks a lot :)


All times are GMT -5. The time now is 12:51 PM.