In this tutorial, We will learn how to get client machine IP addresses using javascript code. JavaScript works with third-party applications to fetch the IP addresses.


<!DOCTYPE html>
        <title>how to get client ip address using javascript?</title>
        <h3>IP Address of user is:</h3> 
        <p style="color: red;"><strong id="ip"></strong></p> 

        <script src=""></script>
        <script type="text/javascript">

            $.getJSON("", function (data) {





Thanks, May this example will help you.