# Discourse docker container has trouble reaching DNS

**URL:** <https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439>\
**Category:** Self-hosting\
**Created:** [April 30, 2018, 7:06am UTC](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439 "2018-04-30T07:06:01Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [April 30, 2018, 8:32am UTC](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439/11 "2018-04-30T08:32:39Z")

</div>

This may help! if You haven’t create a security group for your EC2 instance and allow Destination connections

> **[Amazon EC2 security groups for your EC2 instances - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)**
>
> Use security groups and security group rules as a firewall to control traffic to and from your EC2 instances.

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439)._
