LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-14-2012, 08:53 AM   #1
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Rep: Reputation: Disabled
ftp connection refused new server


New linux server setup, but I can not ftp. Connection refused.

I have the correct password and username and ip address.

I also tried to ftp in the windows command prompt. Connection refused without asking for my password.

Wonder if I have something wrong in the server set up.
 
Old 06-14-2012, 09:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
iptables firewall? no ftp service even running? what is the ftp service you've configured?
 
Old 06-14-2012, 09:17 AM   #3
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
"no ftp service even running?" , I thought it would be part of the linux installation. How can I tell if I have something installed or not.
 
Old 06-14-2012, 09:19 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You've not even configured one? Do you not think the idea of a service like that just being there by default would be a terrible terrible thing, and astonishingly insecure?

The software is available, but it would never be running by default.
 
Old 06-14-2012, 09:23 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
To add to the above post, what are you planning to use FTP for? If you are planning to connect over the internet, for example, then I would suggest you install an SSH server (like OpenSSH) instead since you gain functionality and also send passwords encrypted. Of course, for public FTP servers this could be disregarded.
 
Old 06-14-2012, 09:29 AM   #6
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
oops, no ftp set up on the server. Will need to do that then. Any advice?
 
Old 06-14-2012, 09:36 AM   #7
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
FTP use, just for uploading files, chmod commands, nothing fancy. I will need to make it run, thanks.
 
Old 06-14-2012, 09:38 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
you may well be able to use ssh / sftp instead. That IS going to be up and running already.
 
1 members found this post helpful.
Old 06-14-2012, 10:27 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
For uploading and dowloading, and remote configuration, then SSH is your best bet.
Which disribution are you using(e.g. Red Hat, Ubuntu, Arch)?
 
Old 06-14-2012, 10:28 AM   #10
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
centOS
 
Old 06-14-2012, 10:37 AM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
I would recommend installing openssh-server and doing a quick google to ensure it's configured OK.
 
1 members found this post helpful.
Old 06-14-2012, 11:24 AM   #12
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
openSSH installed.

Found this:- WinSCP
and it works well for me. Allows drag and drop.

Thanks,
 
Old 06-14-2012, 11:37 AM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Glad you found a solution. You may 3want to mark thus thread "solved"?
 
Old 06-14-2012, 11:39 AM   #14
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
did do :-) Many thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FTP: Connection refused Jhinukk Linux - Newbie 5 04-20-2012 03:45 AM
[SOLVED] FTP connection refused Perrorist Linux - Server 3 10-13-2009 06:11 PM
FTP/TELNET SERVER: Service not available/connection refused. What does it mean? svar Linux - Networking 6 12-15-2005 06:25 AM
ftp - connection refused aje Linux - Networking 4 11-06-2004 05:19 AM
ftp connection refused charkym Linux - Networking 2 06-26-2001 03:29 PM

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

All times are GMT -5. The time now is 11:39 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