how to get public IP in Angular Project? Is there any method or URL for getting public IP from the client-side.
Below, I listed the code was I used. but I can't subscribe to that response.
   this.httpService.get<{ ip: string }> 
     ("http://icanhazip.com/").subscribe(data => {
        console.log(data)
   });
 
    