# Unable to connect to host mode container from bridged mode container

**URL:** <https://forums.balena.io/t/unable-to-connect-to-host-mode-container-from-bridged-mode-container/5704>\
**Category:** balenaEngine\
**Created:** [March 21, 2019, 9:58pm UTC](https://forums.balena.io/t/unable-to-connect-to-host-mode-container-from-bridged-mode-container/5704 "2019-03-21T21:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewcovi](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/drewcovi/32/1115_2.png) [@drewcovi](https://forums.balena.io/u/drewcovi)\
**Post date:** [March 21, 2019, 9:58pm UTC](https://forums.balena.io/t/unable-to-connect-to-host-mode-container-from-bridged-mode-container/5704/1 "2019-03-21T21:58:28Z")

</div>

I have a host mode container leveraging bluetooth and hosting a websocket to communicate status.

I also have another container that I’d prefer to keep in bridged mode to keep it isolated.

I’m able to connect to the bluetooth “host mode” container using it’s internal IP address since it still has an IP Address from the docker0 bridge, but I can’t connect by simply connecting to `ws://bluetooth`

What am I missing here? Is there any way to connect directly between containers?

---

<div class="post-metadata">

**Author:** ![drewcovi](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/drewcovi/32/1115_2.png) [@drewcovi](https://forums.balena.io/u/drewcovi)\
**Post date:** [March 21, 2019, 10:13pm UTC](https://forums.balena.io/t/unable-to-connect-to-host-mode-container-from-bridged-mode-container/5704/4 "2019-03-21T22:13:18Z")

</div>

I’m assuming for the time being that the host network is available to all containers through the ip address `172.18.0.1` but is there a hostname that we could use in place of this? or is this the preferred method?
