PDA

View Full Version : PASV mode failed, trying PORT mode


AkilleuZ
12-19-2007, 03:17 AM
Hi

I have a problem connecting 2 my server, from UNI. Asfar as i know its the only "public" place i have troulbe connecting to the server from. I really hope you can help me.

Here is the log:


[R] Connecting to 212.242.XX.209 -> IP=212.242.XX.209 PORT=21
[R] Connected to 212.242.XX.209
[R] 220 BulletProof FTP Server ready ...
[R] USER XX
[R] 331 Password required for XX.
[R] PASS (hidden)
[R] 230 User XX logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extensions supported:
[R] CLNT
[R] MDTM
[R] PASV
[R] REST STREAM
[R] SIZE
[R] 211 End.
[R] CLNT FlashFXP 3.5.1.1200
[R] 200 "FlashFXP 3.5.1.1200" noted.
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PASV
[R] 227 Entering Passive Mode (212,242,XX,209,46,71)
[R] Opening data connection IP: 212.242.XX.209 PORT: 11847
[R] Data Socket Error: Connection timed out
[R] List Error
[R] PASV
[R] 227 Entering Passive Mode (212,242,XX,209,46,72)
[R] Opening data connection IP: 212.242.XX.209 PORT: 11848
[R] Data Socket Error: Connection timed out
[R] List Error
[R] PASV mode failed, trying PORT mode.
[R] Listening on PORT: 59963, Waiting for connection.
[R] PORT 172,21,187,206,234,59
[R] 530 PORT command only accepts client IP address (130.225.184.23!=172.21.187.206).
[R] List Error

PORT: 21 is open on the server firewall.

Thank you for your time

bigstar
12-19-2007, 04:30 AM
The server needs more than just port 21 open for PASV data connections.. it doesn't look like PORT mode will work with the ftp server configuration, my guess is that your setup is using a transparent proxy.. normally the client IP should be the same for the data connection.

AkilleuZ
12-19-2007, 04:36 AM
Hi

Ok. I can easaly open more ports on the firewall where the server is. Which range of ports du you recomend i open?

Is there anything else i have to do?

I have tried to get one of my friends to connect from his home, and he can connect to the server.

AkilleuZ
12-19-2007, 07:58 AM
For fun i just tried to connect to the FTP ser through Firefox.

If i do that i can connect to the server without any problems.

I really hope someone can help me out here.

MxxCon
12-19-2007, 09:55 AM
http://www.inicom.net/forum/showthread.php?t=4275
interesting that you are unregistered user and yet using build 1200:normal:

AkilleuZ
12-19-2007, 11:27 AM
Yes im using an unregistered version but trail.

I havnt bought it yet but i will if can get it to work. The reason im using it, is that one of my friends told me that this program is the very best, and so far i works very well. I just have this problem, and hopefully someone can help me.

DayCuts
12-19-2007, 03:31 PM
A couple of things to try.

Try configuring the server to use a set range of ports for passive connections, and make sure this same range is appropriately configured in any router/firewall.

If passive simply wont work (it may be something on your Uni network configuration causing it) then use active mode (PORT). Both flashfxp and your server software will have configuration options regarding this, on the client side you can fiddle with the active mode ip/port range setting, and on the server side you can set the server to allow fxp or 'ftp bounce' as some servers call it. It is currently not allowed by your server which is why you are getting the "530 PORT command only accepts client IP address (130.225.184.23!=172.21.187.206)." error.