ECONNREFUSED after doing everything

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

Moderator: Project members

Locked
Message
Author
Edward205
500 Command not understood
Posts: 4
Joined: 2020-05-25 09:45
First name: Edward
Last name: C

ECONNREFUSED after doing everything

#1 Post by Edward205 » 2020-05-25 10:05

Hello! This is my first post on the forum, sorry if I make any mistakes here. I wanted to set up an FTP server with Filezilla and after I did everything I had to do, I get "ECONNREFUSED" error. So, I did the following things:
1. Added inbound rule to allow ports 20-60 (I want to use port 50 but I added more just to be sure it works) Image
2. Forwarded ports in my router's settings like this Image
3. Tried to connect to my server on https://canyouseeme.org/ and on my phone. Image
I can't find anyone that has a similar issue to mine. It's my first time trying to do something like this.

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

Re: ECONNREFUSED after doing everything

#2 Post by botg » 2020-05-25 12:50

Don't limit the WAN Host, it could be anything.

Edward205
500 Command not understood
Posts: 4
Joined: 2020-05-25 09:45
First name: Edward
Last name: C

Re: ECONNREFUSED after doing everything

#3 Post by Edward205 » 2020-05-26 11:30

What? ~I don't think limited anything. Sorry if I'm dumb~
Edit: changed WAN Host Start IP Address to 192.169.1.0 and WAN Host End IP Address to 192.168.1.10. I think this is what you meant.
Edit 2: Bitdefender free (my antivirus) does not have firewall and my isp is not blocking the port.
Edit 3: Just noticed I don't have ipv6 ip adress. Maybe that's why it's not working?
Edit 4: I also get this error in log

Code: Select all

You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router.
Warning: FTP over TLS is not enabled, users cannot securely log in.

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

Re: ECONNREFUSED after doing everything

#4 Post by boco » 2020-05-26 20:31

You need to read the Network Configuration Guide and configure both your server machine (including FZ Server's Passive settings) and your network (including router) correctly.
changed WAN Host Start IP Address to 192.169.1.0 and WAN Host End IP Address to 192.168.1.10. I think this is what you meant.
No, that's not what was said. He said "Don't limit". Remove anything from WAN Host (or write 0.0.0.0 if you need to put anything in there).
There are even two errors here, first the limiting itself (as you don't know which IPs want to connect to your server), and second the fact you entered private (LAN) IPs here (192.168.0.0/16 is a private IP range and not used on the Internet). That will never work if you want to accept connections from the "outside".
Just noticed I don't have ipv6 ip adress. Maybe that's why it's not working?
Currently, it's optional and not the problem.

Another note: The ports 1 up to 1024 are privileged, they are reserved for special services. Using any of these ports (except 21 and 990) for FTP might not work at all. The test even issues a warning, FileZilla will, too. Use 21 or ports above 1024.
### 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 ###

Edward205
500 Command not understood
Posts: 4
Joined: 2020-05-25 09:45
First name: Edward
Last name: C

Re: ECONNREFUSED after doing everything

#5 Post by Edward205 » 2020-05-27 18:40

I can not remove the wan host limit, nor write 0.0.0.0 because it gives me an error: Image
I have read the network configuration guide and I am sure that Filezilla is set up correctly.
This is my router configuration Image

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

Re: ECONNREFUSED after doing everything

#6 Post by boco » 2020-05-27 23:51

Try if it eats 0.0.0.1 - 255.255.255.254 (or 223.255.255.254).

That's a weird thing. Limiting WAN addresses makes no sense, as you don't know them in advance.
### 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 ###

Edward205
500 Command not understood
Posts: 4
Joined: 2020-05-25 09:45
First name: Edward
Last name: C

Re: ECONNREFUSED after doing everything

#7 Post by Edward205 » 2020-05-28 06:13

Thank you!! It's really weird that it doesen't like zeros. The only way i could get it to not limit the wan host is by setting it to 1.0.0.0 - 223.255.255.254. I hate the settings menu of this router but i have to use it to work with my isp.
Please lock this topic as my issue has been solved.

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

Re: ECONNREFUSED after doing everything

#8 Post by boco » 2020-05-28 11:04

[Locked] on request of topic owner. For request to re-open (topic owner only), PM to me or botg.
### 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 ###

Locked