New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bind_interface option not working when having additional listeners. #1533
Comments
Can you share your actual config snippets please? |
(by my reading of the manual, you canonly have bind_interface on the default listener, additional listeners have bind paramters as optional ags to the listener directive) |
The thing is that it worked on the contrary way. The default listener using the port directive didn't bind. Using the listener directive for it solved the issue. |
Could you share the problem configuration? |
I think this should be fixed now. |
Have 2 instance of bind_interface and only the latter is in effect:
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: mosquitto version 1.6.8 starting
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Config loaded from /etc/mosquitto.conf.
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Opening ipv6 listen socket on port 8883.
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Warning: Address family not supported by protocol
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Opening ipv4 listen socket on port 8883.
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Binding listener to interface "br0".
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Opening ipv6 listen socket on port 1883.
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Warning: Address family not supported by protocol
Dec 13 14:45:39 daemon.notice mosquitto: 1576244739: Opening ipv4 listen socket on port 1883.
The text was updated successfully, but these errors were encountered: