Ip Address Problem

I use cordova-plugin-networkinterface to get ip address of client like below but it gives me private addresses like 10.x.x.x, 192.168.x.x or 172.x.x.x. I need the real ip address of device but i can’t get it. I couldn’t find a similar issue. What am i doing wrong? :confused:

    if (this.platform.is('cordova')) {
      this.networkInterface
        .getCarrierIPAddress()
        .then(address => {
          this.ipAddress = address.ip;
          console.log('Carrier Address: ' + JSON.stringify(address));
        })
        .catch(err => {
          console.error(err);
          this.networkInterface.getWiFiIPAddress().then(wifi => {
            this.ipAddress = wifi.ip;
            console.log('Wifi Address: ' + JSON.stringify(wifi));
          });
        });
    }