TouchOSC localhost not connecting on PC

When I connect TouchOSC to SonicPi on my Mac laptop (both on the same machine) using localhost everything works fine. However, if I try to connect TouchOSC to Sonic Pi (both on the same machine) using localhost on a PC the connection doesn’t work? Is it a Windows issue?
Thanks!

Do you swirch off windows Firewall ?

Ah, thank you! That was it.

Hi

Great.
If you want to use the firewall you have to allow sonic pi and sub programs erlang etc. To do this, just allow when a confirm window is displayed.

image