Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-28-2010, 08:32 PM
|
#1
|
LQ Newbie
Registered: Apr 2010
Posts: 23
Rep:
|
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?
|
|
|
04-28-2010, 11:19 PM
|
#2
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
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.
|
|
|
04-29-2010, 04:00 PM
|
#3
|
LQ Newbie
Registered: Apr 2010
Posts: 23
Original Poster
Rep:
|
I have disabled my windows firewall, still same message.
|
|
|
04-29-2010, 06:28 PM
|
#4
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
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.
|
|
|
05-01-2010, 03:45 PM
|
#5
|
LQ Newbie
Registered: Apr 2010
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
05-01-2010, 04:00 PM
|
#6
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
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.
|
|
|
05-03-2010, 09:19 PM
|
#7
|
LQ Newbie
Registered: Apr 2010
Posts: 23
Original Poster
Rep:
|
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...
|
|
|
05-03-2010, 09:34 PM
|
#8
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
service vsftpd start
|
|
|
All times are GMT -5. The time now is 03:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|