# /usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint app

**URL:** <https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577>\
**Category:** Self-hosting\
**Created:** [April 10, 2020, 8:10pm UTC](https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577 "2020-04-10T20:10:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jameshahnii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jameshahnii/32/108982_2.png) [@jameshahnii](https://meta.discourse.org/u/jameshahnii)\
**Post date:** [April 10, 2020, 8:10pm UTC](https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577/1 "2020-04-10T20:10:31Z")

</div>

Hey guys, been stuck on this for over a week. I’ve read all of the relevant topics on meta and tried all the solutions here and elsewhere and nothing’s working. I’m just stumped.

Every time I try to `./launcher rebuild app` it goes all the way to the end and then…

```plaintext
Removing old container
+ /usr/bin/docker rm app
app

+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=bitkcor.com -e DISCOURSE_DEVELOPER_EMAILS=admin@bitkcor.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=2525 -e DISCOURSE_SMTP_USER_NAME=postmaster@bitkcor.com -e DISCOURSE_SMTP_PASSWORD=af3ce4432f9613e0b36545e5c1b941c6-c1fe131e-22e64a1e -e LETSENCRYPT_ACCOUNT_EMAIL=admin@bitkcor.com -h bitkcor-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:d6:ee:ff:fa:8d local_discourse/app /sbin/boot
2bef25314e87e6c0679ced8f3c04dd8a98808350baba7a4ff94a3e4c55dc5c20
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint app (095c02cba7ddee18c64f04ccd1043408aa8ffed8a3c560b8eeeea133c7abe6c6): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.

```

Thinking the solution has got to be easy, but can’t find it.

Anybody know the answer?

---

_[View the full topic](https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577)._
