Cannot connect to ftp server

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

Moderator: Project members

Message
Author
User avatar
boco
Contributor
Posts: 25185
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to ftp server

#16 Post by boco » 2020-06-19 22:18

What Encryption do you use to access the server? If connecting to 21, you must use FTPS Explicit. For port 990, you must use FTPS Implicit.

The recommendation is to only connect to port 21 (Explicit) not use port 990 (Implicit) at all, as the latter is not a formally standardized connection type.

Could you fancy a screenshot of the data port forward rule in the router?
### 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.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#17 Post by James_liv » 2020-06-20 10:40

Morning,

Please find these screenshot.

One from the FTP over TLS and the other two from the virtual server and port triggering of the router.

Does this help?
Attachments
Screenshot_20200618-213544_Chrome.jpg
Screenshot_20200618-213544_Chrome.jpg (311.95 KiB) Viewed 421 times
Screenshot_20200618-213555_Chrome.jpg
Screenshot_20200618-213555_Chrome.jpg (294.89 KiB) Viewed 421 times
Screenshot_20200620-113712_VNC Viewer.jpg
Screenshot_20200620-113712_VNC Viewer.jpg (808.67 KiB) Viewed 421 times

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

Re: Cannot connect to ftp server

#18 Post by boco » 2020-06-21 01:23

1. Please kill Port Triggering rules 1 and 5 - the FTP ones. Port triggering doesn't work for FTP and these rules will mess everything up.

On a second note, for each of your duplicated forwarding rules (Virtual Server vs. Port Triggering), use one or the other, never both!


2. You can set the protocol for the FTP rules in Virtual Servers to TCP. FTP makes no use of UDP, and having unnecessary protocols exposed is not recommended.

3. The 990 -> 21 rule is still wrong.

Port 21 expects a plain, unencrypted FTP connection that is then upgraded to TLS by sending AUTH. Port 990 expects an implicitly encrypted connection from the start. Never mix both kinds of connection, or client and server will not understand each other.
### 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.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: Cannot connect to ftp server

#19 Post by botg » 2020-06-22 07:21

Check your range forward, it looks as if you have forwarded 50000-50099 to the single port 50000. You need to forward it to 50000-50099.

Your your router cannot forward ranges to ranges, manually add 100 consecutive single port forwards.

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

Re: Cannot connect to ftp server

#20 Post by boco » 2020-06-22 08:19

@botg: That's how some routers display it. For the remote range, the display is complete, but for the local range, only the start port is shown. It usually works, nonetheless.
### 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.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#21 Post by James_liv » 2020-06-23 11:31

Yeah, it's forwarded the only way that is possible.
I initially thought the same thing but that's how my router forwards the ports.

I've been away with work for a couple of days but I'll try your suggestions when I get home tomorrow night.

Thank you. Your help is very much appreciated.

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#22 Post by James_liv » 2020-06-23 21:39

Afternoon,

So, got home early so trying to get this working.

See attached screen shots of how it's setup.

Port 990 now gets me to the welcome message but then gives error...

421 Login time exceeded. Closing control connection.

If I use port 21 I get nothing at all.

Any ideas?
Attachments
Screenshot_20200623-231226_Chrome.jpg
Screenshot_20200623-231226_Chrome.jpg (143.89 KiB) Viewed 335 times
Screenshot_20200623-222502_VNC Viewer.jpg
Screenshot_20200623-222502_VNC Viewer.jpg (536.81 KiB) Viewed 335 times
Screenshot_20200623-222516_VNC Viewer.jpg
Screenshot_20200623-222516_VNC Viewer.jpg (535.88 KiB) Viewed 335 times
Screenshot_20200623-223231_Chrome.jpg
Screenshot_20200623-223231_Chrome.jpg (174.65 KiB) Viewed 335 times

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#23 Post by James_liv » 2020-06-25 07:27

Hi,

I'm still struggling with this if anyone has any other advice?

Thanks in advance.

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

Re: Cannot connect to ftp server

#24 Post by botg » 2020-06-25 09:26

Try a different router.

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#25 Post by James_liv » 2020-06-25 12:24

As I said right at the start. The ftp server was working absolutely fine and had been doing for a while.
I had to reinstall windows and this is where the problems started.

There's absolutely nothing wrong with the router.

James_liv
500 Syntax error
Posts: 17
Joined: 2019-04-01 17:08
First name: James
Last name: Livingstone

Re: Cannot connect to ftp server

#26 Post by James_liv » 2020-06-27 19:03

I take it we're all out of ideas on this?

Just completely bizaare that it suddenly won't work anymore.

Any ideas or help fixing it would be appreciated.

Post Reply