227 Entering Passive Mode - disconnections

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
el_sabio_
500 Command not understood
Posts: 4
Joined: 2016-11-21 19:26
First name: el_sabio_

227 Entering Passive Mode - disconnections

#1 Post by el_sabio_ » 2019-02-13 10:22

FTP connections have become very slow and sometimes interminable.
In the log I see too many "227 Entering Passive Mode" and many disconnections occur.

My ISP gives me a speed of 600MB.

What can be happening?
I have disabled the firewall and the antivirus but I do not notice any improvement.

I have activated the

Number of threads: 4.

Internal buffer transfer, I have modified it: 524288

Socket Buffer size: 262144

I have FTP over TLS enabled
Unchecked box: Disallow plain unecrypted FTP.
Enabled Allow FTP over TLS enabled
990
Enabled Force PROT p ....
Enabled Require TLS Session ...


In Passive mode settings:
Enabled use custom ... 31100-31200

Use the following ip:
zzzz.dyndns.org

Enabled Don't use external IP for local ....

Some clients synchronize files on the ftp server with files of all types from * .doc to large files * .mp4
Any ideas?
Thanhs

User avatar
botg
Site Admin
Posts: 32216
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: 227 Entering Passive Mode - disconnections

#2 Post by botg » 2019-02-13 11:06

Try using a much larger port range. Rule of thumb: #ports >= number of files transferred in 4 minutes.

el_sabio_
500 Command not understood
Posts: 4
Joined: 2016-11-21 19:26
First name: el_sabio_

Re: 227 Entering Passive Mode - disconnections

#3 Post by el_sabio_ » 2019-02-13 13:17

Ok, I'll enable more ports.

I have a question, does the 990 port have to be open on my router?
I have never had it open and it has worked well for me.

And the port 14147? I do not have it open either.

Are the buffer speeds correct? Is there any magic formula?

User avatar
botg
Site Admin
Posts: 32216
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: 227 Entering Passive Mode - disconnections

#4 Post by botg » 2019-02-13 14:21

Port 990 is for implicit FTP over TLS, which is deprecated as it has never been formally specified. If you haven't needed it so far you likely won't need it in the future.

el_sabio_
500 Command not understood
Posts: 4
Joined: 2016-11-21 19:26
First name: el_sabio_

Re: 227 Entering Passive Mode - disconnections

#5 Post by el_sabio_ » 2019-02-13 15:12

Thank you so much for everything.
The only question that has not answered me is not important because fillezilla server works correctly although I am curious to know if modifying the buffer in miscellaneous, I will gain more speed or not. Greetings and thanks again.

User avatar
boco
Contributor
Posts: 24552
Joined: 2006-05-01 03:28
Location: Germany

Re: 227 Entering Passive Mode - disconnections

#6 Post by boco » 2019-02-13 19:39

You *can* get a speed increase if you raise the buffer sizes (very fast, low-latency connections). Please use values that are multiples of the default size (don't raise it in fractions). It is really trial and error here.

No risk involved, as you can always return to the default values.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Post Reply