Amazon EC2 Windows 2008...FTP access from outside not working

hi  guys

i have a windows 2008 R2 server in the Amazon EC2 cloud. I have set up FTP, with basic authentication to an FTP folder. This folder is shared and permissions for specific users are given to access it. Locally when I try, I am able to logon just fine.

I've gone into the security groups on the EC2 instance and permitted ports 21 and 22 from any source (i.e. 0.0.0.0/0).

I am using Filezilla to connect to this. Whatever I do, it says 'Connection timed out, could not connect to the server'. I've even added the key pair in Filezilla.

My question is, what username/password should I be using to connect? I'm using the user I created on my windows server along with the password. I'm confused? Any help would be great

Thanks
Yash
LVL 1
YashyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Hi,

You are correct with what you are doing. You might need to speak to Amazon ec2 tech guy. I have had this issue before and there was a configuration issue with Amazon ec2 that was solved by the support guy.

Regard
0
AlexPaceCommented:
Port 22 is for SFTP and IIS doesn't do that.

Port 21 is the FTP control channel but FTP also needs a data channel.  This will be a port above 1024 that is negotiated during the FTP session.  If you are connecting with an FTP client like FileZilla that supports passive mode data channels then you can configure the FTP server software to use a specific range of ports for passive data channels.  This range will need to be open on the firewall for inbound connections.  

If you need to support older FTP clients like that ftp.exe command line client that comes with DOS then you'll potentially need to make outbound connections on any port over 1024 specified by the client.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shalom CarmelCTOCommented:
Setup the windows server firewall... It always blocks everything on new EC2 Windows servers
0
YashyAuthor Commented:
I didn't get a chance today guys. I'll look again tomorrow and update.

p.s - I did enable FTP service and the host process for windows.

Think AlexPace's method I'll need to try tomorrow and see.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cloud Computing

From novice to tech pro — start learning today.