Fedora Linux Support Community & Resources Center
  #1  
Old 16th July 2017, 10:25 AM
Yora0 Offline
Registered User
 
Join Date: Jun 2012
Location: Germany
Posts: 223
linuxfedorafirefox
Can't reach ftp-server: "Connection refused"

I recently tried to connect to an ftp server, but no matter which method I am using, I always get a "Connection Refused" error. I am not sure whether this is an error with my computer or with my server.

Any idea how I could find out, and if it's Fedora, what I could do about it?
Reply With Quote
  #2  
Old 16th July 2017, 11:51 AM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 724
linuxfedorafirefox
Re: Can't reach ftp-server: "Connection refused"

Howdy,

For FTP, you need three open ports, one for FTP control, one for RPC and the data may be transferred over a random high port.

First of all, check whether you have a routing problem with the telnet utility:
$ telnet ftpserveripaddress 20

and look at the error messages to get some clues.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
  #3  
Old 16th July 2017, 06:18 PM
Yora0 Offline
Registered User
 
Join Date: Jun 2012
Location: Germany
Posts: 223
linuxfedorafirefox
Re: Can't reach ftp-server: "Connection refused"

It says:

"telnet: connect to address 217.160.0.132: Connection refused"
Reply With Quote
  #4  
Old 16th July 2017, 08:11 PM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 724
macosfirefox
Re: Can't reach ftp-server: "Connection refused"

You should at least get the server welcome banner, followed by connection refused, since telnet cannot actually speak 'FTP'.

So you either have a network routing problem, or the FTP server isn't running at all.


Some more test ideas:

Restart the FTP server and watch the error log.

Check the firewall rules.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
  #5  
Old 23rd July 2017, 02:19 PM
lexonight's Avatar
lexonight Offline
Registered User
 
Join Date: Nov 2011
Location: Rhode Island, USA
Age: 42
Posts: 36
linuxchrome
Re: Can't reach ftp-server: "Connection refused"

I had a problem similar on my vps which was an openvz container. Everytime I set up my ssh config on a new operating system, I would update it, the update of network manager would screw up my connections. Did you have this problem before or did it just pop up? is SElinux enabled? I ended up blacklisting NetworkManager
__________________
If you don't ask, you'll never know
Never insult yourself, there are millions who can do that for you
Dell Latitude E6410 Intel(R) Core(TM) i5 CPU M 580 @ 2.67GHz
NVIDIA GT218M [NVS 3100M]
Fedora 25 Installed

Last edited by lexonight; 23rd July 2017 at 02:40 PM.
Reply With Quote
  #6  
Old 23rd July 2017, 05:08 PM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 724
macosfirefox
Re: Can't reach ftp-server: "Connection refused"

The first thing to test is the server itself. Log on with SSH and run 'ftp localhost' and see what happens.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
Reply

Tags
connection refused , ftpserver , reach

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[F16] Problems with Pulseaudio and Jack ("Connection refused", etc.) Thidrek Using Fedora 0 17th March 2012 02:13 PM
Consistent but Partial "Connection refused" in Fedora 11 gost80 Servers & Networking 0 16th September 2009 08:07 PM
"connection refused" for vnc server on fedora 10 vagabond Using Fedora 8 10th February 2009 11:06 PM
Xlib: connection to ":0.0" refused by server kquizak Servers & Networking 1 29th April 2007 10:57 AM


Current GMT-time: 20:49 (Sunday, 22-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat