-
Notifications
You must be signed in to change notification settings - Fork 21
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
Unable to discover bacnet devices with bacnet-client application running inside docker container #22
Comments
Hello, for docker issue comes from visibility of networks, try with |
Network trace from last screenshot indicate that there are two IP addresses used, 127.0.0.1 and 192.168.29.30. Your machine IP is probably 192.168.29.96. Can you check with other variant of constructor - |
The |
I've created a basic docker image, see #23. Running it I can see devices in my host network: |
I've pushed my bacnet-client code onto github along with the Dockerfile that I've created. Can you please give it a try on your setup by dockerising and running the dockerimage as |
For me |
I'm still unable to discover the devices inside docker container. Are you using the bindIP same as "0.0.0.0", as specified in code base, while creating object for |
Yes, the above docker execution from your repo used your code. Only one parameter I tweaked was broadcast address. Anyhow, if you enumerate network interfaces using standard Java APIs you will get from it also a broadcast address which you can use to setup transport. |
Thanks @splatch for your support, there was some network interface issue. I'm now able to discover the BACnet devices under the docker environment using Thanks for your support, closing this issue. |
I'm trying to discover the BACnet devices [simulated devices, using YABE for same] via the java application internally using the bacnet4j-wrapper.
Devices are getting discovered when running the application on local system, but when we're trying to run the code inside the docker container, the client application is unable to discover the devices.
I've even tried using the --network="host" but no luck.
The text was updated successfully, but these errors were encountered: