# java.net.BindException: Address already in use: bind

**URL:** <https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [May 31, 2013, 10:36am UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529 "2013-05-31T10:36:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erwin\_Fiten](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Erwin\_Fiten](https://community.wowza.com/u/Erwin_Fiten)\
**Post date:** [May 31, 2013, 10:36am UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/1 "2013-05-31T10:36:33Z")

</div>

Maybe this is not directly linked to the Wowza server.

I added a new, fixed IP to mu Win 2008 R2 server with IIS, FTP.

on this IP, the wowza server is accessible at port 1935

Now, I want to use this IP for SSL access to the wowza (this IP not not bound to any IIS apllication)

Bind failed, try again (xxx.xxx.250.77:443): java.net.BindException: Address already in use: bind

when I use netstat -ab i can find 2 times the use of the 443 port

```auto
  TCP 0.0.0.0:443 OWNEROR-2PRLM7S:0 LISTENING
 Can not obtain ownership information
  TCP [::]:443 OWNEROR-2PRLM7S:0 LISTENING
 Can not obtain ownership information

```

Keep in mind that another IP uses port 443 for HTTPS access.

---

<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:** [May 31, 2013, 7:16am UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/2 "2013-05-31T07:16:03Z")

</div>

Hi Efiten,

IP/port combinations have to be unique, by default Wowza will bind to all IP’s that are available. To override this you can configure your VHost.xml

file to use a specified IP. In your VHost.xml file change:

```auto
<IpAddress>*</IpAddress>

```

To:

```auto
<IpAddress>[you-ip-address]</IpAddress>

```

You will need to change this for all the host ports setup in your VHost.xml file.

Also, IIS binds to all IP addresses.

Take a look at the windows command line utility netsh for managing IP addresses that IIS binds to.

Salvadore

---

<div class="post-metadata">

**Author:** ![Erwin\_Fiten](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Erwin\_Fiten](https://community.wowza.com/u/Erwin_Fiten)\
**Post date:** [May 31, 2013, 3:00pm UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/3 "2013-05-31T15:00:58Z")

</div>

Thanks, this helped me a lot, IIS was binding to all IP’s on all ports, with the netsh utility, i selected only the ones needed, and now wowza starts up completely

---

<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:** [May 31, 2013, 11:50am UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/4 "2013-05-31T11:50:41Z")

</div>

Great! Glad to hear it is working and thanks for the update.

Salvadore

---

<div class="post-metadata">

**Author:** ![Cahlan\_Sharp](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Cahlan\_Sharp](https://community.wowza.com/u/Cahlan_Sharp)\
**Post date:** [September 3, 2015, 6:01pm UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/5 "2015-09-03T18:01:08Z")

</div>

For anyone else who comes across this thread, I had the same problem except I finally realized that earlier in the configuration, someone had listed 443 along with the other ports under the main HostPortList…

Removed 443 from that comma separated list of ports and it worked like a charm.

---

<div class="post-metadata">

**Author:** ![Tim\_Potter1](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@Tim\_Potter1](https://community.wowza.com/u/Tim_Potter1)\
**Post date:** [March 18, 2017, 12:04am UTC](https://community.wowza.com/t/java-net-bindexception-address-already-in-use-bind/38529/6 "2017-03-18T00:04:52Z")

</div>

Thanks Cahlan, that was the case for me too (Seems to be the default for AWS installs).
