From 3f219a3f8e980ab4586db356637caaf4bd2ef825 Mon Sep 17 00:00:00 2001 From: facundomedica Date: Fri, 16 Dec 2016 15:17:36 -0300 Subject: [PATCH 1/2] Solution to problem related to firewall Resume: Ubuntu 16.04 seems to have the firewall enabled by default, which prohibits the access to apps. Original issue: https://github.com/dokku/dokku/issues/2532 --- docs/getting-started/troubleshooting.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/getting-started/troubleshooting.md b/docs/getting-started/troubleshooting.md index 48cdb40e8..799821377 100644 --- a/docs/getting-started/troubleshooting.md +++ b/docs/getting-started/troubleshooting.md @@ -174,3 +174,16 @@ echo vm.swappiness = 10 | sudo tee -a /etc/sysctl.conf ``` *** + +__Symptom:__ I successfully deployed my application with no deployment errors but I'm receiving Connection Timeout when attempting to access the application. + +__Solution:__ + +This can occur if Dokku is running on a system with a firewall enabled (some OS versions like Ubuntu 16.04 have this enabled by default). The follow script will disable the firewall. + +```shell +sudo ufw disable +``` + +*** + From 127dd7334fcf6736675424b4c37e102809740ef9 Mon Sep 17 00:00:00 2001 From: facundomedica Date: Fri, 16 Dec 2016 15:52:19 -0300 Subject: [PATCH 2/2] Update troubleshooting.md --- docs/getting-started/troubleshooting.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/troubleshooting.md b/docs/getting-started/troubleshooting.md index 799821377..5933ea97a 100644 --- a/docs/getting-started/troubleshooting.md +++ b/docs/getting-started/troubleshooting.md @@ -179,7 +179,13 @@ __Symptom:__ I successfully deployed my application with no deployment errors bu __Solution:__ -This can occur if Dokku is running on a system with a firewall enabled (some OS versions like Ubuntu 16.04 have this enabled by default). The follow script will disable the firewall. +This can occur if Dokku is running on a system with a firewall like ufw enabled (some OS versions like Ubuntu 16.04 have this enabled by default). You can check if this is your case by running the following script: + +```shell +sudo ufw status +``` + +If the previous script returned `Status: active` and a list of ports, ufw is enabled and is probably the cause of the symptom described above. To disable it, run: ```shell sudo ufw disable