I managed to delete this email entirely somehow. Anyway an update from me:
I run gnubg -t in wsl and then gnubg in windows. I got the wsl ip address with wsl hostname -I and then: Entered in the linux terminal version: external <WSL_IP>:9876 And then set the player as external in the windows gui, with the same <WSL_IP>:9876 This worked for me, I didn't need the port forwarding command. Jon On Sun, 31 Aug 2025 at 16:52, Superfly Jon <jonkin...@gmail.com> wrote: > Hi! > > I am experimenting a bit with external player - I would love to just > download and install a windows build of GNU Backgammon and then connect to > an external player hosted on a WSL based linux on the very same hardware. > > > - So I've downloaded and installed GNU Backgammon for windows. > - I have then installed GNU Backgammon on the WSL based Ubuntu 24.04 > with apt. (sudo apt install gnubg) > - Started gnubg on the Linux: gnubg -t > - started the external player: external 127.0.0.1 9876 > - Switching back to the GUI gnubg installation on Windows and opening > Setting->Players. Clicking the External player radio button and typing in " > 127.0.0.1:9876 > > So, now I was hoping that it would work out of the box - however, I get > the error message in the Windows based GUI installation. It says: > > "Windows socket error (127.0.0.1:9876): > No connection could be made because the target machine actively refused > it." > > Is this supposed to work, or is it blocked by a setting on my computer? Or > is an incompatibility due to the implementation using Winsock on the GUI > installation and unix sockets on the WSL? > > -Øystein > >