Though this question has been asked before, I am currently working on an Angular 4 application where I need to retrieve the public IP address of the user's system.
I have searched on Stackoverflow for references, but most posts suggest consuming a third-party API URL to obtain the IP address.
However, in my case, I want to programmatically trace the public IP address of the user's system without relying on external APIs.
If anyone has any suggestions or solutions for this, I would greatly appreciate it.