Why pure javascript running as client side code on browser cannot get the public IP of a client?
I know that public IP address can retrieved by making a call to a server. But I am more interested in the reason as to why pure js can do the job.
I reviewed this question: How to get client's IP address using JavaScript?. The answers rather provides solution but doesn't gives information on whey it is not possible.