# Cannot connect to Wowza via Filezilla - ripping hair out!!!

**URL:** https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100
**Category:** Wowza Streaming Engine
**Created:** [February 11, 2014, 8:14am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100 "2014-02-11T08:14:44Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Helen\_B](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helen\_B](https://community.wowza.com/u/Helen_B)
#### Post date: [February 11, 2014, 8:14am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/1 "2014-02-11T08:14:44Z")

</div>

Hi

trying to set up Wowza on EC2 and just trying to st up the HTTP caching. I cannot get Filezilla ftp to connect to change the required files. This is what I have done/get so far:

I am using a laptop via a wireless router.

Switched off AVG.

Switched off Windows Firewall

Set up Filezilla to Active Mode

Limited ports to 5000-5100

Set External IP address to mine (checked its correct with Google 🙂 )

Set up Security Group as per instructed via Wowza tutorial

This is what I get when trying to connect:

Status: Resolving address of ec2- **-** _-_ **-** \*.eu-west-1.compute.amazonaws.com

Status: Connecting to 54.194.219.114:21…

Status: Connection established, waiting for welcome message…

Response: 220 (vsFTPd 2.2.2)

Command: USER wowza

Response: 331 Please specify the password.

Command: PASS \*\*\*\*\*\*\*\*\*\*

Response: 230 Login successful.

Command: SYST

Response: 215 UNIX Type: L8

Command: FEAT

Response: 211-Features:

Response: EPRT

Response: EPSV

Response: MDTM

Response: PASV

Response: REST STREAM

Response: SIZE

Response: TVFS

Response: UTF8

Response: 211 End

Command: OPTS UTF8 ON

Response: 200 Always in UTF8 mode.

Status: Connected

Status: Retrieving directory listing…

Command: PWD

Response: 257 “/home/wowza”

Command: TYPE I

Response: 200 Switching to Binary mode.

Command: PORT 82,21,166,201,19,220

Response: 200 PORT command successful. Consider using PASV.

Command: LIST

Error: Connection timed out

Error: Failed to retrieve directory listing

PLEASE can anyone help???

---

<div class="post-metadata">

### Author: ![Johan\_Niemi](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Johan\_Niemi](https://community.wowza.com/u/Johan_Niemi)
#### Post date: [February 11, 2014, 5:58pm UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/2 "2014-02-11T17:58:54Z")

</div>

In FileZilla settings under Connection SFTP add your keypair file (.pem) associated with your instance. FileZilla will offer to convert it for you, say yes.

Now, in site manager make sure that you connect using the SFTP protocol and not the standard FTP protocol. Remove port number.

Make sure that your EC2 security group allows inbound connections on port 22.

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [February 13, 2014, 2:30am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/3 "2014-02-13T02:30:16Z")

</div>

This was helpful to me, and timely. I will suggest adding it to our EC2 Guide.

Thanks,

Richard

---

<div class="post-metadata">

### Author: ![Johan\_Niemi](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Johan\_Niemi](https://community.wowza.com/u/Johan_Niemi)
#### Post date: [February 11, 2014, 7:25pm UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/4 "2014-02-11T19:25:58Z")

</div>

What kind of Amazon Machine Image (AMI) are you using?

And what do you provide for “User” and “Password”? For Amazon Linux the user name is ec2-user and blank password.

---

<div class="post-metadata">

### Author: ![Johan\_Niemi](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Johan\_Niemi](https://community.wowza.com/u/Johan_Niemi)
#### Post date: [February 13, 2014, 3:08am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/5 "2014-02-13T03:08:18Z")

</div>

Connect using SSH. Terminal on OSX, Putty on Windows.

sudo chmod 777 /path/filename.xml

---

<div class="post-metadata">

### Author: ![Johan\_Niemi](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Johan\_Niemi](https://community.wowza.com/u/Johan_Niemi)
#### Post date: [February 14, 2014, 12:05am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/6 "2014-02-14T00:05:58Z")

</div>

I’m glad I could help you butchx5.

When it comes to EC2 and Linux in general there are many subjects it would be great to cover in the Wowza User’s Guide. But it is important to remember that the scope of the User’s Guide is - and should be, quite narrow.

With that said I agree that some more essential how to’s could be included in the [WowzaMediaServerForEC2\_UsersGuide](https://www.wowza.com/resources/WowzaMediaServerForEC2_UsersGuide.pdf) and in the [WOWZA FOR AMAZON EC2 articles](https://www.wowza.com/docs/amazon).

I think [serverfault.com](http://serverfault.com) would be a great place to ask generic Linux questions. Technical support from the Amazon Web Service support team is great, but it will cost you at least $49.00 / month.

**Various posts and commands you might find useful at some point**

[http://blog.ianbeyer.com/2013/02/10/wowza-ec2-qa-session/](http://blog.ianbeyer.com/2013/02/10/wowza-ec2-qa-session/)

[http://blog.ianbeyer.com/2013/07/05/hls-distribution-with-amazon-cloudfront/](http://blog.ianbeyer.com/2013/07/05/hls-distribution-with-amazon-cloudfront/)

[http://blog.ianbeyer.com/2013/02/26/wowza-ec2-capacity-update/](http://blog.ianbeyer.com/2013/02/26/wowza-ec2-capacity-update/)

[http://sharadchhetri.com/2013/03/08/how-to-mount-s3-bucket-in-linux-ec2-instance/](http://sharadchhetri.com/2013/03/08/how-to-mount-s3-bucket-in-linux-ec2-instance/)

[http://devnumbertwo.com/mounting-an-amazon-s3-bucket-into-a-linux-ec2-instance/](http://devnumbertwo.com/mounting-an-amazon-s3-bucket-into-a-linux-ec2-instance/)

> [@Maxing out a c3.8xlarge instance: 500, 1000 or 2000 simultaneous viewers?](http://community.wowza.com/t/-/39466):
>
> Can you help me estimate how many connected users Amazons most powerful instance can handle? Use case: One encoder in Copenhagen streams to the c3.8xlarge instance (32 vCPU, 60 GB RAM and 10 Gigabit\*4) in Ireland with 5000 Kbit/s. The 5000 Mbps stream is transcoded on the instance to three bitrates, 500 Kbps, 1000 Kbps and 2000 Kbps. 500 simultaneous viewers 500 simultaneous viewers residing in Denmark, consume the stream in the three bitrates. One third at 500 Kbps, one third at 1000 Kbps an…

[http://serverfault.com/questions/570879/1-73-gbps-at-best-on-an-amazon-ec2-10-gigabit-instance](http://serverfault.com/questions/570879/1-73-gbps-at-best-on-an-amazon-ec2-10-gigabit-instance)

[http://alestic.com/2009/06/ec2-user-data-scripts](http://alestic.com/2009/06/ec2-user-data-scripts)

Set time zone at start-up (so the time in the Wowza logs is not completely off)

```auto
nano /etc/sysconfig/clock

```

Then write:

```auto
ZONE='Europe/Copenhagen'

```

Substitute Europe/Copenhagen with your own zone.

Output logs realtime (the name of the logs has changed in Wowza ver. 4)

```auto
tail -f /usr/local/WowzaMediaServer/logs/wowzamediaserver_access.log
tail -f /usr/local/WowzaMediaServer/logs/wowzamediaserver_error.log

```

Run wowza service on startup (the name of the service has changed in Wowza ver. 4)

```auto
chkconfig WowzaMediaServer on

```

Wowza service commands (the name of the service has changed in Wowza ver. 4)

```auto
service WowzaMediaServer status
service WowzaMediaServer stop
service WowzaMediaServer start
service WowzaMediaServer restart

```

Check disk usage

```auto
df -h

```

Delete folder

```auto
rm -r -f /folderpath

```

How to reboot Linux (not the same as restarting instance)

reboot

Wowza interfaces

[http://serveripaddress:8086/streammanager](http://serveripaddress:8086/streammanager)

[http://serveripaddress:8086/livestreamrecord/index.html](http://serveripaddress:8086/livestreamrecord/index.html)

---

<div class="post-metadata">

### Author: ![Helen\_B](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helen\_B](https://community.wowza.com/u/Helen_B)
#### Post date: [February 11, 2014, 9:24am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/7 "2014-02-11T09:24:58Z")

</div>

Thanks for your quick reply

Tried that - also added in as logging in with password added user wowza and password (instance ID) got this:

Status: Connecting to ec2- **-** _-_ **-** \*.eu-west-1.compute.amazonaws.com…

Response: fzSftp started

Command: keyfile “C:\Downloads\Keypair file CW.ppk”

Command: open “wowza@ec2- **-** _-_ **-** \*.eu-west-1.compute.amazonaws.com” 22

Error: Disconnected: No supported authentication methods available (server sent: publickey)

Error: Could not connect to server

Any ideas?

---

<div class="post-metadata">

### Author: ![Helen\_B](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helen\_B](https://community.wowza.com/u/Helen_B)
#### Post date: [February 12, 2014, 2:10am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/8 "2014-02-12T02:10:06Z")

</div>

YAAAAAYYYYYY!!!

I am using ami-eaf01a9d

BUT what solved it was using your system and changing user and password as you said - THANK YOU xxxxxxxxx

---

<div class="post-metadata">

### Author: ![Helen\_B](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helen\_B](https://community.wowza.com/u/Helen_B)
#### Post date: [February 12, 2014, 3:19am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/9 "2014-02-12T03:19:11Z")

</div>

Spoke too soon :rolleyes:

Managed to download and make adjustments to application.xml BUT can’t upload it with changes to overight existing file. ☹ Tried changing file permissions from 775 to 777 in Filezilla but unable to - how and where can I change file permissions please?

---

<div class="post-metadata">

### Author: ![Helen\_B](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helen\_B](https://community.wowza.com/u/Helen_B)
#### Post date: [February 13, 2014, 6:58am UTC](https://community.wowza.com/t/cannot-connect-to-wowza-via-filezilla-ripping-hair-out/40100/10 "2014-02-13T06:58:15Z")

</div>

Hi

Phew!!!

Got there … in the end!!! Also downloaded WinSCP and used file transfer this way rather than Filezilla.

For someone new to all this I have no idea how others manage this without your help niemion - THANK YOU xxx and rrlanham I agree this needs to be added to your EC2 guide. I am not stupid but the guide just didn’t work for me - surely, I can’t be the only one unable to get this done by following the guide???

Off to work on the next stage now - thank you again
