diff --git a/apache/files/Debian/ports-2.2.conf.jinja b/apache/files/Debian/ports-2.2.conf.jinja
index f9c7339fa9bcbf5881baff5e42a619b104df49f0..ae51eb121293da80c3bce288e87bd5e724b21de9 100644
--- a/apache/files/Debian/ports-2.2.conf.jinja
+++ b/apache/files/Debian/ports-2.2.conf.jinja
@@ -9,7 +9,7 @@
         {%- set interfaces = site.get('interface', '*').split() %}
         {%- set port = site.get('port', 80) %}
         {%- for interface in interfaces %}
-            {%- if not site.get('exclude_listen_directive', False) %}
+            {%- if not site.get('exclude_listen_directive', False) and not port == '*' %}
                 {%- set listen_directive = interface ~ ':' ~ port %}
                 {%- if listen_directive not in listen_directives %}
                     {%- do listen_directives.append(listen_directive) %}
diff --git a/apache/files/Debian/ports-2.4.conf.jinja b/apache/files/Debian/ports-2.4.conf.jinja
index f9c7339fa9bcbf5881baff5e42a619b104df49f0..ae51eb121293da80c3bce288e87bd5e724b21de9 100644
--- a/apache/files/Debian/ports-2.4.conf.jinja
+++ b/apache/files/Debian/ports-2.4.conf.jinja
@@ -9,7 +9,7 @@
         {%- set interfaces = site.get('interface', '*').split() %}
         {%- set port = site.get('port', 80) %}
         {%- for interface in interfaces %}
-            {%- if not site.get('exclude_listen_directive', False) %}
+            {%- if not site.get('exclude_listen_directive', False) and not port == '*' %}
                 {%- set listen_directive = interface ~ ':' ~ port %}
                 {%- if listen_directive not in listen_directives %}
                     {%- do listen_directives.append(listen_directive) %}
diff --git a/apache/files/FreeBSD/ports-2.4.conf.jinja b/apache/files/FreeBSD/ports-2.4.conf.jinja
index f9c7339fa9bcbf5881baff5e42a619b104df49f0..ae51eb121293da80c3bce288e87bd5e724b21de9 100644
--- a/apache/files/FreeBSD/ports-2.4.conf.jinja
+++ b/apache/files/FreeBSD/ports-2.4.conf.jinja
@@ -9,7 +9,7 @@
         {%- set interfaces = site.get('interface', '*').split() %}
         {%- set port = site.get('port', 80) %}
         {%- for interface in interfaces %}
-            {%- if not site.get('exclude_listen_directive', False) %}
+            {%- if not site.get('exclude_listen_directive', False) and not port == '*' %}
                 {%- set listen_directive = interface ~ ':' ~ port %}
                 {%- if listen_directive not in listen_directives %}
                     {%- do listen_directives.append(listen_directive) %}
diff --git a/apache/files/RedHat/apache-2.4.config.jinja b/apache/files/RedHat/apache-2.4.config.jinja
index 6dcaf884e1a9c745e1b27b5b5c293660b8223563..5456d5e149ed549fe2e44f0b9d8076a8739e8db7 100644
--- a/apache/files/RedHat/apache-2.4.config.jinja
+++ b/apache/files/RedHat/apache-2.4.config.jinja
@@ -50,7 +50,7 @@ ServerRoot "{{ apache.get('serverroot', '/etc/httpd') }}"
         {%- set interfaces = site.get('interface', '*').split() %}
         {%- set port = site.get('port', 80) %}
         {%- for interface in interfaces %}
-            {%- if not site.get('exclude_listen_directive', False) %}
+            {%- if not site.get('exclude_listen_directive', False) and not port == '*' %}
                 {%- set listen_directive = interface ~ ':' ~ port %}
                 {%- if listen_directive not in listen_directives %}
                     {%- do listen_directives.append(listen_directive) %}