hassio-addons / addon-mqtt

MQTT Server & Web client - Home Assistant Community Add-ons
https://addons.community
MIT License
35 stars 15 forks source link

Can't change MQTT server ports #31

Closed Limych closed 5 years ago

Limych commented 5 years ago

Problem/Motivation

I've try to change SSL ports from defaults 4883+4884 to 8883+8884, but it's not actually applyed.

Expected behavior

MQTT server listening on ports 8883+8884 for SSL connections.

Actual behavior

MQTT server listening on default ports 4883+4884 for SSL connections.

Steps to reproduce

  1. Into addon configuration into block "Network" i've changed container "4883/tcp" to "8883" and container "4884/tcp" to "8884";
  2. I've pressed button "Save" then restart addon.
  3. After restarting in addon logs i've see:
    1551788268: Config loaded from /opt/mosquitto.conf.
    1551788268: Opening websockets listen socket on port 4884.
    1551788268: Opening ipv4 listen socket on port 1883.
    1551788268: Opening ipv6 listen socket on port 1883.
    1551788268: Opening ipv4 listen socket on port 4883.
    1551788268: Opening ipv6 listen socket on port 4883.
addons-assistant[bot] commented 5 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

ludeeus commented 5 years ago

The logs will not change, you are not changing the port used inside the container, but the port that docker exposes.

addons-assistant[bot] commented 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.