Hello,
so i have problem with my mender server. I installed mender-client on my device and i was able to connect to hosted mender. Then i tried to create my own server. It is running inside Windows WLS i followed the Evaluation with Docker Compose tutorial, and the server is running i can log into the web interface but i cannot see my device. I tired different things and nothing seems to work. I can ping between the devices so there is connectivity. This is what i ran on my device witch i am trying to connect to the server.
DEVICE_TYPE=“raspberrypi4”
SERVER_IP_ADDR=“” - here is the server ip
sudo mender-setup
–device-type $DEVICE_TYPE
–demo-server
–server-ip $SERVER_IP_ADDR
–demo-polling
Hi @rastod101,
Thanks for reaching out.
By default, services running within WSL are not exposed to the network. See the following for approaches to solve this:
- Accessing network applications with WSL | Microsoft Learn (port forwarding)
- Accessing network applications with WSL | Microsoft Learn (mirroring)
Greetz,
Josef
Hi, thanks for the quick reply. I have enabled this i am able to ping the WSL from the device, but i am not seeing the device in the connection list. Do i have to enable some specific port ? i have enabled 8080 and 433, but that did not help.
Hi @rastod101,
Without knowing anything about WSL, at least 433 is definitely wrong, HTTPS is 443. Beyond that, no idea. It’s definitely not a setup we test or even try. It might even be easier to pack everything into an Ubuntu VM and give it bridged networking.
Greetz,
Josef