I have deployed a rhino compute locally on a computer(host). I want to use the local compute from another compute(remote) by calling from a python script. I have replaced “localhost” value with IP “compute_rhino3d.Util.url = " http://168.125.96.148:8081/”. However, the connection to the host fails. I have run out of options to do this.
Have you solved the issue?
I have achieved a remote.compute server on LAN on my windows machine and using NodeJs appserver on my mac.
I am on branch 8.x for remote.compute [Rhino 8]
You need to ensure that rhino.compute runs with global IP:
in Program.cs file (compute.geometry)
.UseStartup<Startup>()
.UseUrls("http://0.0.0.0:5000") //<----- this is the line you want to add around line 58 for me
then for the python equivalent … you need to make sure that you have the ComputeUrl setup to your windows/rhino compute server machine
AND importantly (at least for the node script) …
you need to ensure that you have your appserver/python client setup remotely too, so use your local machine IP in place of localhost there. There’s a comms that happens between the two to be able to access the GH files.
Note sure if the GH files being hosted on appserver is relevant for you, but at the very least you need to make sure the compute.server is setup with global ip.