I have it running on Windows 11 with WSL with a Z1.
Tested with Z1 firmware 3.01.1
$ curl http://192.168.1.1/osc/info
{"api":["/osc/info","/osc/state","/osc/checkForUpdates","/osc/commands/execute","/osc/commands/status"],"apiLevel":[2],"_bluetoothMacAddress":"58:38:79:03:0C:47","endpoints":{"httpPort":80,"httpUpdatesPort":80},"firmwareVersion":"3.01.1","gps":false,"gyro":true,"manufacturer":"RICOH","model":"RICOH THETA Z1","serialNumber":"1001010(ricoh_theta_mjpeg_opencv)
I used this code from GitHub and it ran with no problems with the Z1.