Can I get from within NR the Server NR is executed on?
The log says
29 Jan 10:37:07 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt
and I want to get in NR the http://127.0.0.1:1880/ part. If so, how?
Why: I show a QR code on the Dashboard to be scanned w/ a cellphone to open NR the Dashboard right there. Easy transfer, so to say.
When I move the flow from test to production I have to modify manually / hard code that.
I think every Node-red log on every computer will show http://127.0.0.1:1880/ because it is IP language for "This computer" (plus the port number). It won't work to connect to Node-red from any other device.
There is a contrib node node-red-contrib-ip which returns the current IP address as msg.payload.internalIPv4
Nearly, but 100% correct. There are some checks in the startup logic.
If (as default) NR is configured with uiHost: 0.0.0.0 (the special case that represents all IPv4 addresses available on the machine) it will still show http://127.0.0.1:1880 as novice users are most likely to be running NR on the same machine as the browser.
If uiHost is set to anything else then the startup log will use this value in the displayed URL.