on 10-03-2018 6:01 PM
I am trying to find a way to get the local/network IP address in my controller for a Fiori project. I am not able to use java.net in sapui5
var ip = java.net.InetAddress.getLocalHost();
var ipAdd = ip.getHostAddress();
any suggestions?
Thanks
Yes you can, debug this page http://net.ipcalf.com/
Here someone ask about it, and as you can see in his webside, at the end he archived it.
So you can also debug his page, or check the people answer, but with the first one it should be enough.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.