- Platform information:
- Hardware: Intel i7-9700 CPU
- OS: Windows 11
- Java Runtime Environment: as supplied by docker image
- openHAB version: latest
- Issue of the topic: Unable to reach OpenHAB running in docker using WSL 2 additional integration with Ubuntu
- Please post configurations (if applicable):
This comes from Docker | openHAB but I changed the argument --net to --network (but behavior is the same)
The above script is started from WSL2 ubuntu running on Windows 11, the docker process is happily running and the logs show no errors at all.
2021-11-04 15:20:09.157 [WARN ] [org.openhab.core.net.NetUtil ] - Found multiple local interfaces - ignoring 192.168.65.4 2021-11-04 15:20:12.314 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2021-11-04 15:20:12.953 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started. 2021-11-04 15:20:12.988 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080 2021-11-04 15:20:13.162 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
My assumption is that when the docker container is running that I could access it using http://localhost:8080/ or maybe http://ipaddress:8080/ but they all give no response back. Am I missing something or is this a WSL 2 issue?