Question

FileZilla throws errors when trying to connect to AWS instance via SFTP mode. Instance is running on Ubuntu 13.10.

Error:  Connection refused
Error:  Could not connect to server

Connection params:

Host: XX.XX.X.XXX
Username: ubuntu
Port: 22
Was it helpful?

Solution

Problem solved: seems that my instance was glitchy. Terminated the old one and create new. Working now.

OTHER TIPS

By default the Security groups keeps all the ports closed. You need to enable the SFTP port in the security group: Amazon EC2 Security Groups

Another, thing is to ensure an SFTP server is running on the instance (you can login/SSH to the instance and try connecting SFTP locally and check this).

Open the appropriate inbound port in your Security Group as described here.

Import the .pem key pair associated to your EC2 instance into FileZilla.

The way to access your instance is described here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top