I was following Junichiro Horikawa’s tutorial on how to set up compute-rhino3d locally, and it was not successful.
What I did:
-
download and unzip the latest build compute-340 from this link.
-
set the following environment variables:
COMPUTE_BACKEND_PORT = 8080
COMPUTE_HTTP_PORT = 8888
COMPUTE_HTTPs_PORT = 0
-
ran the following in PowerShell as admin:
C:\WINDOWS\system32> netsh http add urlacl url=“http://+:8080/” user=“Everyone”
URL reservation successfully added
- and, ran the following, too:
PS C:\WINDOWS\system32> netsh http add urlacl url=“https://+:443/” user=“Everyone”
URL reservation successfully added
- then , after I ran:
C:\Users\USER_NAME\Downloads\compute-340>compute.frontend.exe
I got the following which seem to indicate the server is running, correct me if i’m wrong:
2020-01-21T16:19:10.1736118+08:00 dbg: frontend Logging to C:\Users\USER_NAME\AppData\Local\Temp\Compute\Logs {}
2020-01-21T16:19:10.3734985+08:00 inf: frontend Configuration Result:
[Success] Name compute.frontend
[Success] ServiceName compute.frontend {“SourceContext”: “Topshelf.HostFactory”}
2020-01-21T16:19:10.3874905+08:00 inf: frontend Topshelf v4.1.0.172, .NET Framework v4.0.30319.42000 {“SourceContext”: “Topshelf.HostConfigurators.HostConfiguratorImpl”}
2020-01-21T16:19:10.4364624+08:00 dbg: frontend Running as a console application, creating the console host. {“SourceContext”: “Topshelf.Builders.RunBuilder”}
2020-01-21T16:19:10.4454586+08:00 dbg: frontend Starting up as a console application {“SourceContext”: “Topshelf.Hosts.ConsoleRunHost”}
2020-01-21T16:19:10.9401902+08:00 dbg: frontend ApplicationStartup {}
2020-01-21T16:19:10.9501846+08:00 inf: frontend Request stashing enabled via TempFileStasher {}
2020-01-21T16:19:11.1560693+08:00 inf: frontend compute.frontend running on http://localhost:8888 {}
2020-01-21T16:19:11.1590660+08:00 inf: frontend The compute.frontend service is now running, press Control+C to exit. {“SourceContext”: “Topshelf.Hosts.ConsoleRunHost”}
-
However, I’m unable connect to local server by running the following in a web browser:
http://127.0.0.1:8080/version
-
and if I run the following, i got “Backend not available” shown in the web broswer:
http://127.0.0.1:8888/version
Have I scrambled my local web server setting and system variables?
May I ask how to set up it correctly to access compute-rhino3d locally?
Thanks.