Revert "Bind metrics on :: too"

This reverts commit 536c85619f.

Looks like binding metrics on IPv6 (`::`) fails with an error:

socket.gaierror: [Errno -2] Name does not resolve
This commit is contained in:
Slavi Pantaleev 2019-02-09 13:21:18 +02:00
parent 46accfdb3c
commit 42c4de348c

View File

@ -152,7 +152,8 @@ listeners:
{% if matrix_synapse_metrics_enabled %} {% if matrix_synapse_metrics_enabled %}
- type: metrics - type: metrics
port: {{ matrix_synapse_metrics_port }} port: {{ matrix_synapse_metrics_port }}
bind_addresses: ['::'] bind_addresses:
- '0.0.0.0'
{% endif %} {% endif %}
{% if matrix_synapse_federation_enabled and matrix_synapse_tls_federation_listener_enabled %} {% if matrix_synapse_federation_enabled and matrix_synapse_tls_federation_listener_enabled %}