I recall someone saying that support registers have to be added to a module to be accessible via RestAPI (and you need access to that module, of course)
I meant that file you were looking it, forgot the actual name sorry about that.
But that file, if you change the IP to the correct one, does it then connect?...