I’m trying to get the IP of the local server as an info box in the UI, is it possible to collect it from the INFO box?
The server’s url (as used by the client to connect) is available in the javascript syntax context, writing this in the text’s value property will display it: #{globals.url}
super cool thank you!
I just realized i have 2 Network cards that im using to connect to different systems in the network, but i can only see one IP … is there a way i can list both IPs? (I can see both IPs in the server)
The client connects to the server using a single IP, it’s only aware of this one.
thank you for your response!
I just realized you can get this from a custom module: settings.appAddresses()
will return an array of http addresses, you can send it to a widget using receive()
.