[SOLVED] Cannot connect ftp on EC2 with Windows Server


If you face with this problem please verify setting as below for resolve

First of all you should connect ftp from your server with command ftp localhost and get result as below

FTP Connect
FTP Connect

OK,then please verify this setting for connect to ftp server from intetner

1. Disable windows fire wall because  EC2 instant have own fire wall (amazon)

2. Open IIS and Click on Server -> FTP Firewall Support  on FTP group as below

FTP Firewall Support
FTP Firewall Support

3. Fill port 49100-49200 in Data Channel Port Range and your IP server (Elastic IP) or DNS name (Public DNS) that can be access via internet in External IP Address as below

FTP Firewall Support Setting
FTP Firewall Support Setting
  • This case if  FTP Firewall is grayed out, please make sure the right pane is active on Server name not Default Web Site or Other as Step 2Ftp grayed out

3. Click on Default Web Site that you are already installed FTP Publishing

4. Click on FTP Authentication and make sure Basic Authentication is Enabled

FTP Authentication

5. Click on FTP Authorization Rules and Allow for All Users

FTP Authorization Rules
FTP Authorization Rules

6. Click on FTP Firewall Support and put your IP server (Elastic IP) or DNS name (Public DNS) that can be access via internet in External IP Address as below

FTP Firewall Support
FTP Firewall Support

7. Click on FTP SSL Settings, select on Allow SSL connections as below

FTP SSL Settings
FTP SSL Settings

8. Finish setting on EC2 windows server then go to AWS Console for setting on Instant

9. Go to instant and find  Security Groups of Instant as below (in yellow)

Security Groups
Security Groups

10. Go to Security Group on AWS and add port 20, 21, 49100-49200 on security group that used by instant as below

Security Groups Setting
Security Groups Setting

11. Then you can access to FTP server via Internet as below

ftp
ftp
Advertisements

One thought on “[SOLVED] Cannot connect ftp on EC2 with Windows Server

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s