Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

mqtt #39

Closed
vtimofeev01 opened this issue Oct 23, 2020 · 2 comments
Closed

mqtt #39

vtimofeev01 opened this issue Oct 23, 2020 · 2 comments

Comments

@vtimofeev01
Copy link

I am trying to connect local mqtt server via metapublishing, but messages are not comming
if I use "file" option i get normal output
if I try to map 1883 port by docker starting i get
docker: Error response from daemon: driver failed programming external connectivity on endpoint vaserving (c8500fbaa086ec460d88dcda03bf3e2d18a5fb81b1e4fa649a7aec756766addb): Error starting userland proxy: listen tcp 0.0.0.0:1883: bind: address already in use.

@nnshah1
Copy link

nnshah1 commented Oct 23, 2020

It looks like you are trying to start a mqtt server / bind an mqtt server within the vaserving container?

Typically we start the mqtt server in a seperate container, and expose its port 1883. The ports of the vaserving container should not require any additional configuration (i.e. as long as it has access to the local network, which generally by default it should have).

if they are both on the same machine, I would first try starting both with --network host flag to docker run, and use the mqtt address "localhost:1883" in your va serving destination.

@vtimofeev01
Copy link
Author

Tks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants