# Could not bind janus web server on a specific ip address

**URL:** <https://janus.discourse.group/t/could-not-bind-janus-web-server-on-a-specific-ip-address/180>\
**Category:** General\
**Created:** [April 21, 2023, 12:38pm UTC](https://janus.discourse.group/t/could-not-bind-janus-web-server-on-a-specific-ip-address/180 "2023-04-21T12:38:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noman](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@noman](https://janus.discourse.group/u/noman)\
**Post date:** [April 21, 2023, 12:38pm UTC](https://janus.discourse.group/t/could-not-bind-janus-web-server-on-a-specific-ip-address/180/1 "2023-04-21T12:38:40Z")

</div>

Hi there!

I’m trying to install and configure Janus on my environment and bind a specific ip address and port number but setting the ip and port on the janus.transport.http.jcfg file it seems not working fine. It prints this error:

[transports/janus\_http.c:janus\_http\_create\_daemon:467] Error binding to IP ‘X.X.X.X’ for Janus API HTTP webserver…  
[transports/janus\_http.c:janus\_http\_init:795] Couldn’t start webserver on port 8088…[transports/janus\_http.c:janus\_http\_create\_daemon:467] Error binding to IP ‘X.X.X.X’ for Admin API HTTP webserver…  
[transports/janus\_http.c:janus\_http\_init:871] Couldn’t start admin/monitor webserver on port 7088…

It works only if I set 127.0.0.1 as ip address with any port number but it’s not what I want to do. I’m using 1.1.2 Janus and 0.9.66-1 libmicrohttpd12 and I’m using http protocol for both “general” and “admin” section in janus.transport.http.jcfg.

Does anyone have any insight to solve this problem?

---

<div class="post-metadata">

**Author:** ![lorenzo](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/lorenzo/32/425_2.png) [@lorenzo](https://janus.discourse.group/u/lorenzo)\
**Post date:** [April 21, 2023, 2:48pm UTC](https://janus.discourse.group/t/could-not-bind-janus-web-server-on-a-specific-ip-address/180/2 "2023-04-21T14:48:18Z")

</div>

Is X.X.X.X a valid IP or interface name on the machine? If so, you should check if it works for other IPs available on the machine, and if so why it only fails for that. At any rate, it sounds like a problem in the library, rather than Janus itself. You can enable additional debug by enabling `mhd_debug` in the plugin configuration file: [janus-gateway/janus.transport.http.jcfg.sample at master · meetecho/janus-gateway · GitHub](https://github.com/meetecho/janus-gateway/blob/master/conf/janus.transport.http.jcfg.sample#L26)
