# Puppeteer Chrome inside Docker not connecting to mediasoup inside Docker

**URL:** <https://mediasoup.discourse.group/t/puppeteer-chrome-inside-docker-not-connecting-to-mediasoup-inside-docker/5291>\
**Category:** Deployment & Scalability\
**Created:** [June 13, 2023, 6:48pm UTC](https://mediasoup.discourse.group/t/puppeteer-chrome-inside-docker-not-connecting-to-mediasoup-inside-docker/5291 "2023-06-13T18:48:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguelrodlav](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@miguelrodlav](https://mediasoup.discourse.group/u/miguelrodlav)\
**Post date:** [June 13, 2023, 6:48pm UTC](https://mediasoup.discourse.group/t/puppeteer-chrome-inside-docker-not-connecting-to-mediasoup-inside-docker/5291/1 "2023-06-13T18:48:06Z")

</div>

The issue I’m facing is related to this scenario:

- Mediasoup Server using webRtcServer deployed on docker container on a Ubuntu Server.
- Puppeteer Headfull using xvfb deployed on docker container on the same server (to render a page only with consumers to be able to record to video/audio file)

The issue is related to the docker connection to mediasoup server. If I place as described before the docker containers on the same server, the puppeteer webpage is not able to create the consumers properly.

But if I deploy the mediasoup docker or the puppeteer docker on different linux servers is working just fine. Only does not work when the 2 containers are deployed in the same machine.

Any idea of what can be happening?? With mediasoup “3.7.6”, and without the WebrtcServer usage it was working fine.

Kind regards!
