Page 5 of 8

Re: ECONNREFUSED - Connection refused by server

Posted: 2010-12-09 19:05
by Soft Bulk
Network Configuration guide is realy helpful, I fixed my problem.

Thanks!

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-01-19 22:12
by matiaspolanco
twlada wrote:The solutions that works for me: in FileZilla change the Servertype from FTP to SFTP. (On general tab below the name of the host).
Works of me, in Mac Os .. .thanks!

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-02-01 13:30
by wallemalling
i did have same problem:ECONNREFUSED - Connection refused by server....

ALL i did have to do was to set the max upload back to 1 ( in transfer setting )

it did start my FZ again

P.S well juust to tell so all is clear...... this was FZ with PS 3 problem: ECONNREFUSED - Connection refused by server....

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-18 06:23
by lenzeppellin
I had the same problem today with a client of mine and I figured out the problem myself. A lot of people think this is a firewall issue but I disabled my firewall and it still didn't work for me. What you need to do is to access your router and create a single port forward - forwarding port 21 - using TCP to the local IP address of your FTP server. You have to know the local IP address of your FTP server.

In your router, you can check the IP address of the device that acts as your FTP server in the basic setup area, since most everyone is on a DHCP connection just click on 'DHCP reservation' if your router supports it and you can even reserve IP address of your home or office devices that way if you need to powercycle (reboot) your network you still retain the same local IP.

Example, I have a Dlink DNS-323 NAS Server that serves my ftp and I just go to my Linksys router's port forwarding portion. Here's an attached picture of what I did. Anyway, I hope this helps people that have been having this issue. Cheers!

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-18 08:08
by boco
single port forward - forwarding port 21
Wrong, not enough for Passive mode. Network Configuration

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-19 04:21
by lenzeppellin
Well, you can say wrong. However, I fixed it on 2 separate ftp servers... It may not work for everyone but it's worth a try...

Oh and by the way, by default FileZilla is set to passive. I never had to change settings in FileZilla at all so yes I am running in passive mode.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-19 05:36
by boco
We speak about the FTP server (Passive data ports). FileZilla Client in Passive mode needs no port forwards whatsoever, as in Passive mode all connections are outgoing client-side.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-24 18:06
by bjjinchicago
I ran the network configuration wizard and everything works great on there. I go to login and I get this message:

Status: Resolving address of ftp.bjjinchicago.com
Status: Connecting to 74.200.243.251:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
Status: Connecting to 72.233.69.6:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
Status: Connecting to 76.74.254.123:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
Status: Connecting to 74.200.244.59:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
Status: Connecting to 76.74.254.120:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
Status: Connecting to 72.233.2.58:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server

opened the port on the firewall as well and did every time I could find. I ham plugged directly into the modem (this solved the problem i was having earlier with the connection wizard.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-24 19:29
by botg
Getting the same here. Looks like there really is no FTP server running at that address.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-05-25 07:32
by boco

Code: Select all

09:29:32	Status:	Resolving address of ftp.bjjinchicago.com
09:29:33	Status:	Connecting to 174.132.105.199:21...
09:29:33	Status:	Connection established, waiting for welcome message...
09:29:33	Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
09:29:33	Response:	220-You are user number 1 of 50 allowed.
09:29:33	Response:	220-Local time is now 02:29. Server port: 21.
09:29:33	Response:	220 You will be disconnected after 15 minutes of inactivity.
09:29:33	Command:	USER anonymous
09:29:33	Response:	230 Anonymous user logged in
09:29:33	Command:	SYST
09:29:33	Response:	215 UNIX Type: L8
09:29:33	Command:	FEAT
09:29:33	Response:	211-Extensions supported:
09:29:33	Response:	 EPRT
09:29:33	Response:	 IDLE
09:29:33	Response:	 MDTM
09:29:33	Response:	 SIZE
09:29:33	Response:	 REST STREAM
09:29:33	Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
09:29:33	Response:	 MLSD
09:29:33	Response:	 AUTH TLS
09:29:33	Response:	 PBSZ
09:29:33	Response:	 PROT
09:29:33	Response:	 ESTA
09:29:33	Response:	 PASV
09:29:33	Response:	 EPSV
09:29:33	Response:	 SPSV
09:29:33	Response:	 ESTP
09:29:33	Response:	211 End.
09:29:33	Status:	Connected
09:29:33	Status:	Retrieving directory listing...
09:29:33	Command:	PWD
09:29:34	Response:	257 "/" is your current location
09:29:34	Command:	TYPE I
09:29:34	Response:	200 TYPE is now 8-bit binary
09:29:34	Command:	PASV
09:29:34	Response:	227 Entering Passive Mode (174,132,105,199,236,239)
09:29:34	Command:	MLSD
09:29:34	Response:	150 Accepted data connection
09:29:34	Response:	226-Options: -a -l 
09:29:34	Response:	226 3 matches total
09:29:34	Status:	Directory listing successful
09:29:42	Status:	Disconnected from server
Server works now, on a completely different IP. Looks like they moved and DNS changes didn't propagate yet.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-06-01 10:34
by jhadi624
try to check if the ftp port open on the server, i got this error also today.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-06-03 08:17
by kiwiservices
I am having the correct FTP details, when I am trying to connect to the server it says request denied. Witht the same login info, if I tried with Cute FTP it is working, what may be the problem?

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-06-03 10:37
by boco
Please post a log of a FileZilla connection attempt.

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-07-13 07:32
by cyril85
hi, I am from Malaysia and learning to configure FTP in my company.
the network infrastructure as below:
3 ISP(streamyx, unifi, my kris), 1 of the ISP consist of router&modem and the others 2 only have modem, 3 of the ISP also will connect to my firebox(firewall). From the firewall it will link to switch hub then only reach my PC.
I have done configure in the router & firebox, but seem it wont connect by outsider. Do i need any extra configuration.
what i configure is portfowarding in dlink router for port 21 and port 50000-60000. For firewall, I have set in policy manager, to allow trusted & external connection for port 21 and port 50000-60000.

in my client side(external network) when connect it show
Status: Delaying connection for 1 second due to previously failed connection attempt...
Status: Connecting to 1xx.1xx.1xx.xxx:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server

the client side is ok when I run ftp wizzard, so I assume the configuration in ftp server went wrong.

what do i still need to set in the server? example in edit-> setting-> passive mode

one more thing, the IP i key in filezilla client is the IP I saw in whatismyip.com. Is that correct?

Re: ECONNREFUSED - Connection refused by server

Posted: 2011-07-13 12:38
by boco
I guess the client is stopped even before reaching the FTP server. Does the server log show any incoming connection?