LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2010, 07:32 PM   #1
davidlu766
LQ Newbie
 
Registered: Apr 2010
Posts: 23

Rep: Reputation: 15
vsftpd not working: Connection attempt failed with "ECONNREFUSED - Connection refused


vsftpd not working on my CentOS system. I tried logging in using FileZilla but the error message was: Connection attempt failed with "ECONNREFUSED - Connection refused by server".

What might be causing this?
 
Old 04-28-2010, 10:19 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Where are you connecting from ?
If it's a windows machine, check your firewall, and if you have another firewall other than the windows one, check they aren't both running.
 
Old 04-29-2010, 03:00 PM   #3
davidlu766
LQ Newbie
 
Registered: Apr 2010
Posts: 23

Original Poster
Rep: Reputation: 15
I have disabled my windows firewall, still same message.
 
Old 04-29-2010, 05:28 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
This doesn't help things.

Where are you connecting from ?

The same network ?

From the internet to a local network ?

Is there a firewall on the server ?

Is the ftp server running ?

Did you use a valid system user id and password ?

Does it work from any other ftp client ?

I'm sure there are a few dozen other questions that I can't think of right now.
 
Old 05-01-2010, 02:45 PM   #5
davidlu766
LQ Newbie
 
Registered: Apr 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Where are you connecting from ? A Windows 7 PC

The same network ? Yes, same subnet also.

From the internet to a local network ? No, local to local

Is there a firewall on the server ? maybe, iptables, not sure how to config.

Is the ftp server running ? Yes, vsftpd is running

Did you use a valid system user id and password ? Yes.

Does it work from any other ftp client ? No.
 
Old 05-01-2010, 03:00 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
If you have gnome desktop, then you can modify the firewall from System Settings > Security level

If the Security level is "Enable firewall" then you need to check ftp and click ok.
 
Old 05-03-2010, 08:19 PM   #7
davidlu766
LQ Newbie
 
Registered: Apr 2010
Posts: 23

Original Poster
Rep: Reputation: 15
I configured out the problem. I have reinstalled vsftpd, installed the webmin module and started the ftp server from webmin. Works perfectly now... My only problem right not is I don't know how to start vsftpd from ssh. I tried "service start vsftpd" but it doesn't work and it didn't give any error message too...
 
Old 05-03-2010, 08:34 PM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
service vsftpd start
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
service named error "rndc: conenct failed: connection refused" Reu Linux - General 1 07-12-2004 01:34 PM
Wine not working. Xlib: connection to ":0.0" refused by server Xerop Linux - General 1 02-18-2004 09:37 PM
bind and named and "rndc: connect failed: connection refused" coffee9876 Linux - Networking 3 12-16-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration