# Failure to connect to primary server

**URL:** <https://community.wowza.com/t/failure-to-connect-to-primary-server/41193>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [December 14, 2013, 10:28pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193 "2013-12-14T22:28:22Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 14, 2013, 10:28pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/1 "2013-12-14T22:28:22Z")

</div>

Hi

I have installed Wowza Media Server 3.6.3 my laptop(with windows 7 Proffesional) and Flash Media Live Encoder 3.2, am also having static IP.

After the installation have gone to services and started Wowza Media Server 3.6.3

I opened Flash Media Live Encoder and entered the FMS URL as (rtmp://mystaticip/live) and stream as myStream, when i click on connect am getting error as

PROBLEM WITH PRIMARY SERVER (Failure to connect to primary server. Please verify that your server URL and application name are valid and that your internet conncetion is working and retry.)

Thankyou.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [December 14, 2013, 3:35pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/2 "2013-12-14T15:35:50Z")

</div>

Are you sure Wowza is running when you get this error?

Salvadore

---

<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:** [December 17, 2013, 2:49am UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/3 "2013-12-17T02:49:07Z")

</div>

Perhaps it is just a typo. Wowza is case sensitive, if you have followed examples and are publishing a stream named “myStream”, then “Mystream” will not work.

Richard

---

<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:** [December 24, 2013, 5:39pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/4 "2013-12-24T17:39:05Z")

</div>

Are you using a Developer license, perhaps? There is a 10 connection limit, and 2 live stream limit.

Richard

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [December 30, 2013, 3:10pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/5 "2013-12-30T15:10:51Z")

</div>

Hi,

The number of connections is unlimited with a monthly subscription license.

Hardware and bandwidth are the factors that impose real world connection limits.

Daren

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [December 14, 2013, 3:05pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/6 "2013-12-14T15:05:22Z")

</div>

As my colleague, Salvadore, described, you need to confirm your port configuration.

The most important part of configuring this is making sure the ports are open and forwarded to your server/computer IP address in your router. From the **[Quick Start Guide](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#openPorts)**:

> By default, Wowza Media Server 3.5 uses the following ports for streaming. You must open these ports in your firewall to enable streaming:
> 
> **TCP 1935** : RTMP (all variants), RTSP, Microsoft Smooth Streaming, Apple HTTP Live Streaming (HLS), WOWZ™
> 
> **UDP 6970-9999** : RTP UDP Streaming
> 
> **TCP 8084-8085** : JMX/JConsole monitoring and administration
> 
> **TCP 8086** : HTTP administration

This is a 3rd party (non-Wowza) website that provides instructions on how to configure port forwarding for many different broadband internet routers: [**http://portforward.com/**](http://portforward.com/).

To test and confirm that your configuration is working, from the public internet, open this URL in a web browser:

```auto
http://[public-ip-address]:1935 and/or http://[your-domain.com]:1935

```

If port 1935 is open, Wowza is running, and you are using your correct IP address/domain, then you will see a very simple web page load with text that looks like this: “Wowza Media Server 3 Monthly Edition 3.6.2.12 build7101”

I hope you find this helpful.

-Tim

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [December 14, 2013, 3:52pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/7 "2013-12-14T15:52:10Z")

</div>

This sounds like an issue with blocked or improperly mapped ports.

In your router you need to port forward TCP port 1935 to the computer running Wowza. Or on your network you need to map port 1935 to the server running Wowza.

Salvadore

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 14, 2013, 10:41pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/8 "2013-12-14T22:41:10Z")

</div>

Yes sour in MS DOS console I get the message (Wowza media server is started)

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 14, 2013, 11:35pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/9 "2013-12-14T23:35:19Z")

</div>

with local IP (192.168.0.1) streaming works well. but I can not connect against Adobe flash media encoded with my static IP address (— 84,203 -…) I received a message (Failure to connect to primary server …)

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 17, 2013, 2:01am UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/10 "2013-12-17T02:01:09Z")

</div>

Thank you for your help. Now I can connect to primary server. but I can play streaming just in the local NETWORK.

Wowza player message error as=\> Status:stream not found failed to play Mystream; stream not found

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 24, 2013, 11:28am UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/11 "2013-12-24T11:28:59Z")

</div>

Hi,

I think Wowza unreliable because sometimes my streaming works well (Adobe Flash Media Live Encoder connected I can see my streaming in défrant computer and smartphone) and after 5 … 10 minutes nothing, I try to disconnect and reconnect I received message (PROBLEM WITH PRIMARY SERVER (Failure to connect to primary server. Please verify…) I try again and again many times nothing!. I close wowza and I restarts, I try again OK Adobe Flash Media finally connected I can see my streaming and after 5 … 10 minutes nothing no streaming!!

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 28, 2013, 11:43pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/12 "2013-12-28T23:43:28Z")

</div>

Hi,

i using Monthly Edition! with this license how many maximum connection? and how many live stream?

---

<div class="post-metadata">

**Author:** ![Sabie\_Sami](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sabie\_Sami](https://community.wowza.com/u/Sabie_Sami)\
**Post date:** [December 28, 2013, 11:45pm UTC](https://community.wowza.com/t/failure-to-connect-to-primary-server/41193/13 "2013-12-28T23:45:27Z")

</div>

Hi,

i using Monthly Edition! with this license how many maximum connection? and how many live stream?
