- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- FTP connection refused
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 11:09 AM
тАО06-06-2005 11:09 AM
While i am trying to ftp a linux machine i am getting the following error.
tariq@sydsep1# ftp 172.17.0.173
ftp: connect: Connection refused
The OS is Fedora core 2
I can do sftp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 12:41 PM
тАО06-06-2005 12:41 PM
Re: FTP connection refused
On the linux server, check what 'service vsftpd status' reports.
If that says it is running, use 'iptables -nvL INPUT' and see if anything is blocking port 21.
But in reality, if you can 'sftp', then it's probably better anyway, being a secure, encrypted connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 02:11 PM
тАО06-06-2005 02:11 PM
Re: FTP connection refused
root 28034 27671 0 12:14 pts/5 00:00:00 grep VsFTPd
How can i start VsFTPd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 04:58 PM
тАО06-06-2005 04:58 PM
Solutionmake sure you have installed vsftpd rpm package. it should be available either in first or second CD of FC2.
to run vsftpd daemon run, 'service vsftpd start'
it will launch vsftpd daemon and you can connect to it from remote. But this will be effective only for the current boot, to make it run automatically after every reboot run, 'chkconfig vsftpd on'
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 12:01 AM
тАО06-07-2005 12:01 AM
Re: FTP connection refused
tail -f /var/log/messages
Additional diagnostics for the server. If you see log entries, then its probably not a firewall.
vsftpd is the default ftp daemon on Fedora Core 2.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 12:06 AM
тАО06-07-2005 12:06 AM
Re: FTP connection refused
start the vsftpd service as 'service vsftpd start',
then try ftpying to the localhost itself to check whether the daemon is running. It should work if everything is ok. Then try ftpying from other pcs . If again the connection refused message comes that means ur firewall setting is blocking ftp connections. Try opening the port 21 in ur firewall setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 12:47 AM
тАО06-07-2005 12:47 AM
Re: FTP connection refused
we must remember that ftp sometimes (most of the times I guess) runs over inet or xinet.
Tariq must verify if there is any ftp server installed on his system
rpm -qa | grep ftp will help him
verify if it's running over inet or xinet
/etc/inetd.conf for inet and
/etc/xinetd.d/some_ftp_server_config for xinetd
That's the very beginning point to verify.
Install it if necessary and configure conform his needs.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 01:16 AM
тАО06-07-2005 01:16 AM
Re: FTP connection refused
Though ftp used to run via an inetd or xinetd daemon, vsftpd has its own daemon and has been removed from the xinetd daemon in Fedora Core 1 and above.
If not installed vsftpd must be explicitly installed.
rpm -ih /tmp/
# You can store it whereever you like
chkconfig --level 12345 vsftpd on
service vsftpd start
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 05:21 AM
тАО06-07-2005 05:21 AM
Re: FTP connection refused
regards,
xyko