Unable to connect to Windows 11 Linux docker when offloading whisper and piper to alt. PC - SOLVED

Hello - I am trying to offload the piper and whisper services to my more powerful computer that also runs my LLM. My challenge is the I am unable to get HA to connect to these services on the host PC The host is a win11 and I have configured both services using a wsl Linux docker. I can see them running and also noticed that I have a new virtual network adapter for the wsl services. My local net is 192.168.x.x and the virtual adapter is 172.x,x.x. Where I’m challenged is how to get my HA computer to connect to my other PC that running piper and whisper. I should anlso mention that I did connect HA with this computer for using the LLM as my conversation agent. Any suggestions would be greatly appreciated.

My HA is a x86 install

  • Core2025.1.3
  • Supervisor2024.12.3
  • Operating System14.1
  • Frontend20250109.0

The 172.x.x.x is the docker network
Docker by default creates a local network for the containers to communicate on. These may be customized or turned off

You must expose ports to allow external PCs/devices/services to connect

Post your docker run or docker compose if you need more help

No clear how networking would work for wsl

here is my docker ps:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
80c652ed07f8 rhasspy/wyoming-piper “bash /run.sh --voic…” 6 hours ago Up 6 hours 0.0.0.0:10200->10200/tcp, :::10200->10200/tcp intelligent_mclean
abcb306121d5 rhasspy/wyoming-whisper “bash /run.sh --mode…” 6 hours ago Up 6 hours 0.0.0.0:10300->10300/tcp, :::10300->10300/tcp infallible_mendeleev

thank you for the quick reply. I did try this but still could not get it to connect. Here is the command: netsh interface portproxy add v4tov4 listenport=10300 listenaddress=0.0.0.0 connectport=10300 connectaddress=172.29.32.1

Don’t know anything about wsl but pretty sure this ip you used is wrong

That’s docker ip I’m pretty sure and useless outside of docker

yes that is the docker IP, and I was trying to forward the port request to the container. Sry still very much a newbie. Doesnt seem right to replace it with the LAN IP for the PC. 192.168.x.x

There are nuances to this method that you can google. For example in this thread.

MS has also recently added Mirrored mode networking, this may be an easier way.

The feature is not experimental at the moment.

THANK YOU!!! That worked and appreciate all the help @mchk!

You’re welcome.
If you don’t mind, you could give your thread a more relevant title that reflects the essence of the problem.
Perhaps someone will be looking for a solution to a similar problem

Will do and thank you again!