Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript: How to get users IP ADDRESS?

Is it possible using only JavaScript to obtain the user's IP Address? If so, how?


1 Answers

I don't think so. You'll need to use a server side language. Or find a service maybe you could use with AJAX, but I'm not sure if one exists.

like image 96
alex Avatar answered Sep 25 '26 02:09

alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!