auto viewer = new ROOT::RGeomViewer();
viewer->Show();
Info in <THttpEngine::Create>: Starting HTTP server on port 127.0.0.1:9478
//go to browser and try to open the IP address. Returns 404.
Expected
I should be able to access the viewer from the browser
Notes
Maybe I am missing some dependency, or network setup, which is necessary for it to work?
I have tried to listen on the port and send there stuff wiith netcat and it works.
Launching the server in the ROOT interpreter also works without issues:
auto serv = new THttpServer("http:9479");
ROOT Version: 6.38.00 Platform: Alma9 Browser: Mozilla Firefox 140.9 Env:
I am using local desktop.
My browser is Firefox 140.9
File $ROOTSYS/etc/system.rootrc doesn’t seem to exist in my case.
ls: cannot access '/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2026-02-26/x86_64-almalinux9-gcc14.2.0-opt/root/6.38.00-lovp3j/etc/system.rootrc': No such file or directory
Both gEnv->GetValue("WebGui.Chrome","") and gEnv->GetValue("WebGui.Firefox","") return empty strings.