List Info

Thread: FTP config problem




FTP config problem
country flaguser name
United States
2007-10-20 17:01:13

Hi,
I'm new to setting up the FTP server stuff, as far as I can tell I've
set everything up as the userguide tells me, but I'm getting the
following errors when connecting to my FTP server when using the
external IP address, all works fine when using the LAN address. I'm
assuming I have not set up the passthrough ports properly on my
router, but I can't see how to set up more than one port to go through
to one internal address, I can't seem to set up ranges of ports to go
through to my FTP server. I'm running a D-link DI634M if that helps any ?

thanks
Peter
*** CuteFTP 8.0 - build May 31 2007 ***

STATUS:> [20/10/2007 22:51:16] Getting listing ""...
STATUS:> [20/10/2007 22:51:16] Connecting to FTP server...
xx.xx.xx.xx:21 (ip = xx.xx.xx.xx)...
STATUS:> [20/10/2007 22:51:16] Socket connected. Waiting for welcome
message...
[20/10/2007 22:51:16] 220 xxxxxx FTP Server
STATUS:> [20/10/2007 22:51:16] Connected. Authenticating...
COMMAND:>; [20/10/2007 22:51:16] USER xxx
[20/10/2007 22:51:16] 331 Password required for xxx.
COMMAND:> [20/10/2007 22:51:16] PASS *****
[20/10/2007 22:51:16] 230 User xxx has successfully logged in.
STATUS:> [20/10/2007 22:51:16] Login successful.
COMMAND:> [20/10/2007 22:51:16] PWD
[20/10/2007 22:51:16] 257 "/" is current directory.
STATUS:> [20/10/2007 22:51:16] Home directory: /
COMMAND:> [20/10/2007 22:51:16] FEAT
[20/10/2007 22:51:16] Informational Message Only:
211-Extensions supported:
SIZE
REST STREAM
PASV
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ] filename
MLST size*;type*;perm*;create*;modify*;
MODE Z
MD5
AUTH
PROT
CCC
PBSZ
CHPWD
211 END
STATUS:> [20/10/2007 22:51:16] This site supports features.
STATUS:> [20/10/2007 22:51:16] This site supports SIZE.
STATUS:> [20/10/2007 22:51:16] This site can resume broken downloads.
COMMAND:> [20/10/2007 22:51:16] MODE Z
[20/10/2007 22:51:16] 200 MODE Ok
COMMAND:> [20/10/2007 22:51:16] REST 0
[20/10/2007 22:51:16] 350 REST supported. Ready to resume at byte
offset 0.
COMMAND:> [20/10/2007 22:51:16] PASV
[20/10/2007 22:51:16] 227 Entering Passive Mode (xxx.xxx.x.xxx,19,137).
STATUS:> [20/10/2007 22:51:16] Substituting received PASV address
xxx.xxx.x.xxx to server address xx.xx.xxx.xxx.
COMMAND:> [20/10/2007 22:51:16] LIST
STATUS:> [20/10/2007 22:51:16] Connecting FTP data socket...
xx.xx.xxx.xxx:5001...
ERROR:> [20/10/2007 22:51:17] The remote host actively refused the
attempt to connect to it.
1) Verify that the destination server name or IP address is correct
2) Verify that the connection port number is correct (under Site
Settings | Type tab).
3) The remote server may be temporarily or permanently inaccessible
(try again later).
4) Verify that you have chosen the right protocol (SSH2, SSL, FTP,
etc.) and have setup all required options for that protocol.
5) Verify that the destination IP address and port numbers are correct.
6) The remote server may be refusing multiple connections from the
same client. Try using only one connection thread when connecting to
this particular server (Site Settings | Options).
7) Try pinging the address.
8) If you are using a router, verify the router is up and running
(check by pinging it and then ping an address outside of the router).
9) Do a traceroute to the destination to verify all routers along
the connection path are operational.
10) Verify that your subnet mask is setup properly.
11) Verify that your local software or hardware firewall is not
blocking outbound connections originating from CuteFTP.
12) Verify that your anti-virus software is not at fault (try
disabling it).
ERROR:> [20/10/2007 22:51:17] PASV failed, trying PORT.
STATUS:> [20/10/2007 22:51:17] Waiting 0 seconds...
STATUS:> [20/10/2007 22:51:18] Getting listing "/"...
STATUS:> [20/10/2007 22:51:18] Connecting to FTP server...
xx.xx.xxx.xxx:21 (ip = xx.xx.xxx.xxx)...
STATUS:> [20/10/2007 22:51:18] Socket connected. Waiting for welcome
message...
[20/10/2007 22:51:18] 220 xxxxx FTP Server
STATUS:> [20/10/2007 22:51:18] Connected. Authenticating...
COMMAND:>; [20/10/2007 22:51:18] USER xxx
[20/10/2007 22:51:18] 331 Password required for xxx.
COMMAND:> [20/10/2007 22:51:18] PASS *****
[20/10/2007 22:51:18] 230 User xxx has successfully logged in.
STATUS:> [20/10/2007 22:51:18] Login successful.
COMMAND:> [20/10/2007 22:51:18] PWD
[20/10/2007 22:51:18] 257 "/" is current directory.
STATUS:> [20/10/2007 22:51:18] Home directory: /
STATUS:> [20/10/2007 22:51:18] This site supports features.
STATUS:> [20/10/2007 22:51:18] This site supports SIZE.
STATUS:> [20/10/2007 22:51:18] This site can resume broken downloads.
COMMAND:> [20/10/2007 22:51:18] MODE Z
[20/10/2007 22:51:18] 200 MODE Ok
COMMAND:> [20/10/2007 22:51:18] REST 0
[20/10/2007 22:51:18] 350 REST supported. Ready to resume at byte
offset 0.
COMMAND:> [20/10/2007 22:51:18] PORT xxx.xxx.x.xxx,14,90
[20/10/2007 22:51:18] 501 Bad PORT syntax and FXP not allowed.
ERROR:> [20/10/2007 22:51:18] Syntax error in parameters or arguments.
ERROR:> [20/10/2007 22:51:18] Failed to establish data socket.

__._,_.___
.

__,_._,___
Re: FTP config problem
country flaguser name
United States
2007-10-21 01:32:05

Please follow the instructions on the user guide FAQ about manual passive
mode.

Regards,

Gorkem Ates

On 10/21/07, peter.talboys < peter.talboys%40yahoo.com">peter.talboysyahoo.com> wrote:
&gt;
> Hi,
> I'm new to setting up the FTP server stuff, as far as I can tell I've
>; set everything up as the userguide tells me, but I'm getting the
> following errors when connecting to my FTP server when using the
> external IP address, all works fine when using the LAN address. I'm
> assuming I have not set up the passthrough ports properly on my
> router, but I can't see how to set up more than one port to go through
> to one internal address, I can't seem to set up ranges of ports to go
> through to my FTP server. I'm running a D-link DI634M if that helps any ?
>
> thanks
&gt; Peter
&gt; *** CuteFTP 8.0 - build May 31 2007 ***
>
> STATUS:>; [20/10/2007 22:51:16] Getting listing "&quot;...
>; STATUS:>; [20/10/2007 22:51:16] Connecting to FTP server...
> xx.xx.xx.xx:21 (ip = xx.xx.xx.xx)...
&gt; STATUS:>; [20/10/2007 22:51:16] Socket connected. Waiting for welcome
> message...
> [20/10/2007 22:51:16] 220 xxxxxx FTP Server
&gt; STATUS:>; [20/10/2007 22:51:16] Connected. Authenticating...
> COMMAND:&gt; [20/10/2007 22:51:16] USER xxx
> [20/10/2007 22:51:16] 331 Password required for xxx.
>; COMMAND:&gt; [20/10/2007 22:51:16] PASS *****
&gt; [20/10/2007 22:51:16] 230 User xxx has successfully logged in.
> STATUS:>; [20/10/2007 22:51:16] Login successful.
> COMMAND:&gt; [20/10/2007 22:51:16] PWD
> [20/10/2007 22:51:16] 257 "/&quot; is current directory.
> STATUS:>; [20/10/2007 22:51:16] Home directory: /
> COMMAND:&gt; [20/10/2007 22:51:16] FEAT
>; [20/10/2007 22:51:16] Informational Message Only:
&gt; 211-Extensions supported:
> SIZE
>; REST STREAM
&gt; PASV
>; MDTM
>; MDTM YYYYMMDDHHMMSS[+-TZ] filename
> MLST size*;type*;perm*;create*;modify*;
> MODE Z
> MD5
> AUTH
>; PROT
>; CCC
> PBSZ
>; CHPWD
&gt; 211 END
> STATUS:>; [20/10/2007 22:51:16] This site supports features.
> STATUS:>; [20/10/2007 22:51:16] This site supports SIZE.
&gt; STATUS:>; [20/10/2007 22:51:16] This site can resume broken downloads.
> COMMAND:&gt; [20/10/2007 22:51:16] MODE Z
> [20/10/2007 22:51:16] 200 MODE Ok
> COMMAND:&gt; [20/10/2007 22:51:16] REST 0
> [20/10/2007 22:51:16] 350 REST supported. Ready to resume at byte
>; offset 0.
> COMMAND:&gt; [20/10/2007 22:51:16] PASV
>; [20/10/2007 22:51:16] 227 Entering Passive Mode (xxx.xxx.x.xxx,19,137).
> STATUS:>; [20/10/2007 22:51:16] Substituting received PASV address
> xxx.xxx.x.xxx to server address xx.xx.xxx.xxx.
> COMMAND:&gt; [20/10/2007 22:51:16] LIST
>; STATUS:>; [20/10/2007 22:51:16] Connecting FTP data socket...
> xx.xx.xxx.xxx:5001...
> ERROR:> [20/10/2007 22:51:17] The remote host actively refused the
> attempt to connect to it.
> 1) Verify that the destination server name or IP address is correct
> 2) Verify that the connection port number is correct (under Site
>; Settings | Type tab).
&gt; 3) The remote server may be temporarily or permanently inaccessible
> (try again later).
> 4) Verify that you have chosen the right protocol (SSH2, SSL, FTP,
>; etc.) and have setup all required options for that protocol.
> 5) Verify that the destination IP address and port numbers are correct.
> 6) The remote server may be refusing multiple connections from the
> same client. Try using only one connection thread when connecting to
> this particular server (Site Settings | Options).
> 7) Try pinging the address.
> 8) If you are using a router, verify the router is up and running
> (check by pinging it and then ping an address outside of the router).
> 9) Do a traceroute to the destination to verify all routers along
&gt; the connection path are operational.
> 10) Verify that your subnet mask is setup properly.
> 11) Verify that your local software or hardware firewall is not
> blocking outbound connections originating from CuteFTP.
> 12) Verify that your anti-virus software is not at fault (try
>; disabling it).
>; ERROR:> [20/10/2007 22:51:17] PASV failed, trying PORT.
&gt; STATUS:>; [20/10/2007 22:51:17] Waiting 0 seconds...
> STATUS:>; [20/10/2007 22:51:18] Getting listing "/&quot;...
&gt; STATUS:>; [20/10/2007 22:51:18] Connecting to FTP server...
> xx.xx.xxx.xxx:21 (ip = xx.xx.xxx.xxx)...
> STATUS:>; [20/10/2007 22:51:18] Socket connected. Waiting for welcome
> message...
> [20/10/2007 22:51:18] 220 xxxxx FTP Server
&gt; STATUS:>; [20/10/2007 22:51:18] Connected. Authenticating...
> COMMAND:&gt; [20/10/2007 22:51:18] USER xxx
> [20/10/2007 22:51:18] 331 Password required for xxx.
>; COMMAND:&gt; [20/10/2007 22:51:18] PASS *****
&gt; [20/10/2007 22:51:18] 230 User xxx has successfully logged in.
> STATUS:>; [20/10/2007 22:51:18] Login successful.
> COMMAND:&gt; [20/10/2007 22:51:18] PWD
> [20/10/2007 22:51:18] 257 "/&quot; is current directory.
> STATUS:>; [20/10/2007 22:51:18] Home directory: /
> STATUS:>; [20/10/2007 22:51:18] This site supports features.
> STATUS:>; [20/10/2007 22:51:18] This site supports SIZE.
&gt; STATUS:>; [20/10/2007 22:51:18] This site can resume broken downloads.
> COMMAND:&gt; [20/10/2007 22:51:18] MODE Z
> [20/10/2007 22:51:18] 200 MODE Ok
> COMMAND:&gt; [20/10/2007 22:51:18] REST 0
> [20/10/2007 22:51:18] 350 REST supported. Ready to resume at byte
>; offset 0.
> COMMAND:&gt; [20/10/2007 22:51:18] PORT xxx.xxx.x.xxx,14,90
> [20/10/2007 22:51:18] 501 Bad PORT syntax and FXP not allowed.
> ERROR:> [20/10/2007 22:51:18] Syntax error in parameters or arguments.
> ERROR:> [20/10/2007 22:51:18] Failed to establish data socket.
>
>
>

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re: FTP config problem
country flaguser name
United States
2007-10-22 18:15:47

In the advanced menu are you configuring the "Port Forwadings"? This is where you would do what you are wanting. You're just missing something I'm sure. Remember port 20 and 21 need to be opened for FTP.
"peter.talboys" < peter.talboys%40yahoo.com">peter.talboysyahoo.com> wrote: Hi,
I'm new to setting up the FTP server stuff, as far as I can tell I've
set everything up as the userguide tells me, but I'm getting the
following errors when connecting to my FTP server when using the
external IP address, all works fine when using the LAN address. I'm
assuming I have not set up the passthrough ports properly on my
router, but I can't see how to set up more than one port to go through
to one internal address, I can't seem to set up ranges of ports to go
through to my FTP server. I'm running a D-link DI634M if that helps any ?

thanks
Peter
*** CuteFTP 8.0 - build May 31 2007 ***

STATUS:> [20/10/2007 22:51:16] Getting listing "&quot;...
STATUS:> [20/10/2007 22:51:16] Connecting to FTP server...
xx.xx.xx.xx:21 (ip = xx.xx.xx.xx)...
STATUS:> [20/10/2007 22:51:16] Socket connected. Waiting for welcome
message...
[20/10/2007 22:51:16] 220 xxxxxx FTP Server
STATUS:> [20/10/2007 22:51:16] Connected. Authenticating...
COMMAND:>; [20/10/2007 22:51:16] USER xxx
[20/10/2007 22:51:16] 331 Password required for xxx.
COMMAND:> [20/10/2007 22:51:16] PASS *****
[20/10/2007 22:51:16] 230 User xxx has successfully logged in.
STATUS:> [20/10/2007 22:51:16] Login successful.
COMMAND:> [20/10/2007 22:51:16] PWD
[20/10/2007 22:51:16] 257 "/&quot; is current directory.
STATUS:&gt; [20/10/2007 22:51:16] Home directory: /
COMMAND:> [20/10/2007 22:51:16] FEAT
[20/10/2007 22:51:16] Informational Message Only:
211-Extensions supported:
SIZE
REST STREAM
PASV
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ] filename
MLST size*;type*;perm*;create*;modify*;
MODE Z
MD5
AUTH
PROT
CCC
PBSZ
CHPWD
211 END
STATUS:> [20/10/2007 22:51:16] This site supports features.
STATUS:&gt; [20/10/2007 22:51:16] This site supports SIZE.
STATUS:> [20/10/2007 22:51:16] This site can resume broken downloads.
COMMAND:> [20/10/2007 22:51:16] MODE Z
[20/10/2007 22:51:16] 200 MODE Ok
COMMAND:> [20/10/2007 22:51:16] REST 0
[20/10/2007 22:51:16] 350 REST supported. Ready to resume at byte
offset 0.
COMMAND:> [20/10/2007 22:51:16] PASV
[20/10/2007 22:51:16] 227 Entering Passive Mode (xxx.xxx.x.xxx,19,137).
STATUS:> [20/10/2007 22:51:16] Substituting received PASV address
xxx.xxx.x.xxx to server address xx.xx.xxx.xxx.
COMMAND:> [20/10/2007 22:51:16] LIST
STATUS:> [20/10/2007 22:51:16] Connecting FTP data socket...
xx.xx.xxx.xxx:5001...
ERROR:> [20/10/2007 22:51:17] The remote host actively refused the
attempt to connect to it.
1) Verify that the destination server name or IP address is correct
2) Verify that the connection port number is correct (under Site
Settings | Type tab).
3) The remote server may be temporarily or permanently inaccessible
(try again later).
4) Verify that you have chosen the right protocol (SSH2, SSL, FTP,
etc.) and have setup all required options for that protocol.
5) Verify that the destination IP address and port numbers are correct.
6) The remote server may be refusing multiple connections from the
same client. Try using only one connection thread when connecting to
this particular server (Site Settings | Options).
7) Try pinging the address.
8) If you are using a router, verify the router is up and running
(check by pinging it and then ping an address outside of the router).
9) Do a traceroute to the destination to verify all routers along
the connection path are operational.
10) Verify that your subnet mask is setup properly.
11) Verify that your local software or hardware firewall is not
blocking outbound connections originating from CuteFTP.
12) Verify that your anti-virus software is not at fault (try
disabling it).
ERROR:> [20/10/2007 22:51:17] PASV failed, trying PORT.
STATUS:> [20/10/2007 22:51:17] Waiting 0 seconds...
STATUS:&gt; [20/10/2007 22:51:18] Getting listing "/&quot;...
STATUS:> [20/10/2007 22:51:18] Connecting to FTP server...
xx.xx.xxx.xxx:21 (ip = xx.xx.xxx.xxx)...
STATUS:> [20/10/2007 22:51:18] Socket connected. Waiting for welcome
message...
[20/10/2007 22:51:18] 220 xxxxx FTP Server
STATUS:> [20/10/2007 22:51:18] Connected. Authenticating...
COMMAND:>; [20/10/2007 22:51:18] USER xxx
[20/10/2007 22:51:18] 331 Password required for xxx.
COMMAND:> [20/10/2007 22:51:18] PASS *****
[20/10/2007 22:51:18] 230 User xxx has successfully logged in.
STATUS:> [20/10/2007 22:51:18] Login successful.
COMMAND:> [20/10/2007 22:51:18] PWD
[20/10/2007 22:51:18] 257 "/&quot; is current directory.
STATUS:&gt; [20/10/2007 22:51:18] Home directory: /
STATUS:> [20/10/2007 22:51:18] This site supports features.
STATUS:&gt; [20/10/2007 22:51:18] This site supports SIZE.
STATUS:> [20/10/2007 22:51:18] This site can resume broken downloads.
COMMAND:> [20/10/2007 22:51:18] MODE Z
[20/10/2007 22:51:18] 200 MODE Ok
COMMAND:> [20/10/2007 22:51:18] REST 0
[20/10/2007 22:51:18] 350 REST supported. Ready to resume at byte
offset 0.
COMMAND:> [20/10/2007 22:51:18] PORT xxx.xxx.x.xxx,14,90
[20/10/2007 22:51:18] 501 Bad PORT syntax and FXP not allowed.
ERROR:> [20/10/2007 22:51:18] Syntax error in parameters or arguments.
ERROR:&gt; [20/10/2007 22:51:18] Failed to establish data socket.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )