# Restream won't auto start on server restart

**URL:** <https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254>\
**Category:** Wowza Streaming Engine\
**Created:** [June 21, 2014, 10:54pm UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254 "2014-06-21T22:54:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christer\_Andvik](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Christer\_Andvik](https://community.wowza.com/u/Christer_Andvik)\
**Post date:** [June 21, 2014, 10:54pm UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/1 "2014-06-21T22:54:32Z")

</div>

I have followed the guide on how to re-stream [https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming](https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming) and it’s working good. I’m using the 4.0.3 wowza version on Windows 2012. My only problem is that the stream doesn’t start up after server reboot or wowza restart. I have added the streams to the StartupStream.xml like this

\<?xml version="1.0" encoding="UTF-8"?\>

live/_definst_

IPcam1.stream

rtp

live/_definst_

IPcam2.stream

rtp

when they don’t start i have to manually go in and start them and then they work fine until the next time.

Has any one have had this problem and know how to fix it?

---

<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:** [June 21, 2014, 10:58pm UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/2 "2014-06-21T22:58:46Z")

</div>

Hi

Check the access and error logs in [install-dir]/logs.

See if there is an error on startup. If there’s a problem you should see something

during the attempts to start the streams.

Post parts of the logs here if you like.

Best regards,

Daren

---

<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:** [June 22, 2014, 6:08am UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/3 "2014-06-22T06:08:06Z")

</div>

Hi there, it sounds like you have another application trying to bind to the same Port/IP combination as Wowza.

Every VHost.xml /HostPort /IpAddress must be unique within Wowza. Another application cannot bind to the same IPAddress/Port as any Wowza HostPort. If there is any duplication there will be bind ERROR messages in the log file after startup.

Salvadore

---

<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:** [June 24, 2014, 5:42am UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/4 "2014-06-24T05:42:36Z")

</div>

That’s great news! I am glad you got this sorted and happy I could help.

Salvadore

---

<div class="post-metadata">

**Author:** ![Christer\_Andvik](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Christer\_Andvik](https://community.wowza.com/u/Christer_Andvik)\
**Post date:** [June 22, 2014, 12:53pm UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/5 "2014-06-22T12:53:33Z")

</div>

> Hi
> 
> Check the access and error logs in [install-dir]/logs.
> 
> See if there is an error on startup. If there’s a problem you should see something
> 
> during the attempts to start the streams.
> 
> Post parts of the logs here if you like.
> 
> Best regards,
> 
> Daren

ERROR after restart wowza server.

2014-06-22 10:04:35 CEST comment server ERROR 500 - REST API: Server request (GET): IP WhiteList blocked (xxx.xxx.xxx.xxx)-403: [http://xxx.xxx.xxx.xxx:8087/v1/server/server](http://xxx.xxx.xxx.xxx:8087/v1/server/server) - - - 24.566 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-06-22 10:04:37 CEST comment vhost WARN 200 _defaultVHost_ Bind failed, try again ([any]:80): java.net.BindException: Address already in use: bind - - - 26.429 - - - - - - - - - - - - - - - - - - - - - - - - -

there is many entrys of the last WARN msg

what do they mean?

---

<div class="post-metadata">

**Author:** ![Christer\_Andvik](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Christer\_Andvik](https://community.wowza.com/u/Christer_Andvik)\
**Post date:** [June 23, 2014, 9:17am UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/6 "2014-06-23T09:17:46Z")

</div>

> Hi there, it sounds like you have another application trying to bind to the same Port/IP combination as Wowza.
> 
> Every VHost.xml /HostPort /IpAddress must be unique within Wowza. Another application cannot bind to the same IPAddress/Port as any Wowza HostPort. If there is any duplication there will be bind ERROR messages in the log file after startup.
> 
> Salvadore

after running a netstat -o from cmd it shows thet ther is no active connections using port 80

but i stil get this WARN msg in wowza Log

CEST comment vhost WARN 200 _defaultVHost_ Bind failed, try again ([any]:80): java.net.BindException: Address already in use: bind

😕

---

<div class="post-metadata">

**Author:** ![Christer\_Andvik](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Christer\_Andvik](https://community.wowza.com/u/Christer_Andvik)\
**Post date:** [June 23, 2014, 9:35pm UTC](https://community.wowza.com/t/restream-wont-auto-start-on-server-restart/43254/7 "2014-06-23T21:35:51Z")

</div>

I finally figured it out. I do have a webserver on this server but its running on port 8080 so i figured it was good. It turns out that the Web Deployment Agent Service listens on port 80. After uninstalling that one everything seems to run normal and my .stream files start on reboot. Thx for pointing me in the right direction 🙂
