LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-04-2004, 07:16 PM   #1
Diode
Member
 
Registered: Aug 2003
Location: Southern California
Distribution: SuSE 8.2
Posts: 41

Rep: Reputation: 15
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
 
Old 08-04-2004, 07:20 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
try using a passive connection with "ftp -p" instead, see if it helps...
 
Old 08-04-2004, 07:22 PM   #3
Diode
Member
 
Registered: Aug 2003
Location: Southern California
Distribution: SuSE 8.2
Posts: 41

Original Poster
Rep: Reputation: 15
Still no dir list

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

Just hangs, no activity, no dir list.
 
Old 08-04-2004, 07:33 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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??
 
Old 08-04-2004, 07:49 PM   #5
Diode
Member
 
Registered: Aug 2003
Location: Southern California
Distribution: SuSE 8.2
Posts: 41

Original Poster
Rep: Reputation: 15
no

port 1028

I said I turned the firewall off and the same results so we can safly elimate that.
 
Old 08-05-2004, 07:43 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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???
 
Old 11-18-2009, 01:27 AM   #7
apnatech
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Thanks a lot , it worked

Quote:
Originally Posted by win32sux View Post
try using a passive connection with "ftp -p" instead, see if it helps...
thanks a lot, it worked.
 
Old 04-21-2020, 11:50 AM   #8
marins
LQ Newbie
 
Registered: Apr 2020
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by win32sux View Post
try using a passive connection with "ftp -p" instead, see if it helps...

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending WAN IP address to FTP server sloik2000 Linux - Networking 2 02-08-2005 02:59 PM
trusted ip address access to ftp server i_am_so_kittle Linux - Security 3 05-08-2004 10:41 AM
ftp server not finding my ip address fideli Linux - Software 7 02-18-2004 11:47 AM
FTP Server IP address problem johnk Linux - Networking 2 08-21-2003 03:40 PM
Getting Started and I allready have problems!! HELP! Prim0 Linux - General 8 02-10-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration