Commit 95ff5b89 by Chavee Issariyapat

fix port

parent 4982f211
...@@ -34,7 +34,7 @@ EXPOSE 1883 ...@@ -34,7 +34,7 @@ EXPOSE 1883
EXPOSE 8883 EXPOSE 8883
# MQTT WebSockets # MQTT WebSockets
EXPOSE 8080 EXPOSE 8083
# VerneMQ Message Distribution # VerneMQ Message Distribution
EXPOSE 44053 EXPOSE 44053
......
...@@ -75,7 +75,7 @@ EOF ...@@ -75,7 +75,7 @@ EOF
echo "erlang.distribution.port_range.minimum = 9100" >> /etc/vernemq/vernemq.conf echo "erlang.distribution.port_range.minimum = 9100" >> /etc/vernemq/vernemq.conf
echo "erlang.distribution.port_range.maximum = 9109" >> /etc/vernemq/vernemq.conf echo "erlang.distribution.port_range.maximum = 9109" >> /etc/vernemq/vernemq.conf
echo "listener.tcp.default = ${IP_ADDRESS}:1883" >> /etc/vernemq/vernemq.conf echo "listener.tcp.default = ${IP_ADDRESS}:1883" >> /etc/vernemq/vernemq.conf
echo "listener.ws.default = ${IP_ADDRESS}:8080" >> /etc/vernemq/vernemq.conf echo "listener.ws.default = ${IP_ADDRESS}:8083" >> /etc/vernemq/vernemq.conf
echo "listener.vmq.clustering = ${IP_ADDRESS}:44053" >> /etc/vernemq/vernemq.conf echo "listener.vmq.clustering = ${IP_ADDRESS}:44053" >> /etc/vernemq/vernemq.conf
echo "listener.http.metrics = ${IP_ADDRESS}:8888" >> /etc/vernemq/vernemq.conf echo "listener.http.metrics = ${IP_ADDRESS}:8888" >> /etc/vernemq/vernemq.conf
......
...@@ -189,6 +189,7 @@ listener.nr_of_acceptors = 10 ...@@ -189,6 +189,7 @@ listener.nr_of_acceptors = 10
## - an IP/port pair, e.g. 127.0.0.1:10011 ## - an IP/port pair, e.g. 127.0.0.1:10011
#listener.tcp.default = 127.0.0.1:1883 #listener.tcp.default = 127.0.0.1:1883
listener.tcp.default = 0.0.0.0:1883 listener.tcp.default = 0.0.0.0:1883
listener.ws.default = 0.0.0.0:8083
## listener.vmq.clustering is the IP address and TCP port that ## listener.vmq.clustering is the IP address and TCP port that
## the broker will bind to accept connections from other cluster ## the broker will bind to accept connections from other cluster
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment