How to get local IP address using JavaScript? -


I get the local IP address of the client system. How can I get this by using javascript?

I do not think you are without any server interaction / P>

The easiest way is to make an AJAX request for a server-side snippet, that will look like this in PHP:

  & lt ;? Php echo $ _SERVER ["REMOTE_ADDR"]; ? & Gt;  

Comments