Re: [mqtt] docker with MQTT

34 views
Skip to first unread message
Message has been deleted

Karl Palsson

unread,
May 16, 2018, 5:56:05 PM5/16/18
to mq...@googlegroups.com

jaybr...@gmail.com wrote:
> I am running mosquitto as an MQTT broker thus:
>
> docker run -d -p 1883:1883 -p 8883:8883 prologic/mosquitto
>
> I then run my client as follows:
>
> docker run -d -p 8001:8001 -p 1883:1883 --env
> BROKER_ADDR=137.78.81.53 ngfr-incoming:latest

don't you only need those port forwards if you need it to listen?

>
> and the following error messages ensues:
>
> docker: Error response from daemon: driver failed programming
> external connectivity on endpoint condescending_bhaskara
> (47fb15261183c8bc83c9a77f6f16c35f6410307b0cb3bd82ea97e367950261e0):
> Bind for 0.0.0.0:1883 failed: port is already allocated.
>
> My reaction: Of course it's allocated -- I'm using it for the
> broker!
>
> Any ideas how to resolve this?
>
> Jay
>
signature.html
Reply all
Reply to author
Forward
0 new messages