# Binding only to specific network interface

**URL:** <https://community.openhab.org/t/binding-only-to-specific-network-interface/19261>\
**Category:** Runtime\
**Tags:** openhab2\
**Created:** [January 2, 2017, 12:09am UTC](https://community.openhab.org/t/binding-only-to-specific-network-interface/19261 "2017-01-02T00:09:42Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![breti](https://community.openhab.org/user_avatar/community.openhab.org/breti/32/72363_2.png) [@breti](https://community.openhab.org/u/breti)\
**Post date:** [June 25, 2017, 2:07pm UTC](https://community.openhab.org/t/binding-only-to-specific-network-interface/19261/16 "2017-06-25T14:07:08Z")

</div>

> [@Kai](#):
>
> org.ops4j.pax.web.listening.addresses seems to be the setting, which would have to go into etc/org.ops4j.pax.web.cfg.

Be careful: This setting affects HTTP on port 8080, but not HTTPS on port 8443!

One should bind OpenHAB to 127.0.0.1 **and** disable HTTPS support in OpenHAB when using a reverse proxy.

If HTTPS is needed, it should be activated in the reverse proxy configuration.

```auto
org.osgi.service.http.secure.enabled = false
org.ops4j.pax.web.listening.addresses = 127.0.0.1

```

---

_[View the full topic](https://community.openhab.org/t/binding-only-to-specific-network-interface/19261)._
