Errors Using the RPC Client Edge Driver Tutorial

I am trying to write an edge driver to control MyLink storm shutters.
The RPC Client capabilities in the tutorial is exactly what I am looking for.
In the tutorial, when I run “thingsim run”
I get:
ThingSim Starting… (Ctrl+C, Ctrl+C to stop)
rpcserver started for ‘Imaginary Bulb #1’ on 0.0.0.0:38061
rpcserver started for ‘Imaginary Bulb #2’ on 0.0.0.0:38245
Instead of IP addresses like in the tutorial.

Then when I substitute a port number (38061) in call.lua and run it I get:
lua call.lua
lua: ./rpcclient.lua:62: connection refused
stack traceback:
[C]: in function ‘assert’
./rpcclient.lua:62: in function ‘rpcclient.new’
call.lua:3: in main chunk
[C]: in ?
I’m using the WSL environment in Windows 11.
I don’t know how to proceed.