How to get the ip Address of the client machine using Javascript

Posted by Mahendrabasutkar under JavaScript on 1/9/2012 | Points: 10 | Views : 146565 | Status : [Member] | Replies : 6
Hi All,

How to get the ip Address of the client machine using Javascript

Regards,
Mahendra




Responses

Posted by: Blessyjees on: 1/10/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Refer this link http://stackoverflow.com/questions/391979/get-client-ip-using-just-javascript

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 1/10/2012 [Member] Silver | Points: 25

Up
0
Down
http://javascriptsource.com/user-details/ip-address.html
May help you

Thanks,
Sanjay

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 1/10/2012 [Member] Silver | Points: 25

Up
0
Down
http://www.hashemian.com/tools/visitor-IP.htm
Another link may help you

Thanks,
Sanjay

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: balajirnaukri-12656 on: 8/30/2012 [Member] Starter | Points: 25

Up
0
Down
Non of these work-outs for me.Can anyone provide me anyother script to generate IPaddress of the client machine

Thanks and Regards
Balaji.R
ASP.NET Devloper
Solve-IT corp

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: balajirnaukri-12656 on: 8/31/2012 [Member] Starter | Points: 25

Up
0
Down
I want to findout the IP address of my client machine can anyone help me regarding this

Thanks and Regards
Balaji.R
ASP.NET Devloper
Solve-IT corp

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 8/31/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Guys before you post test your links if they provide the correct solution for the question dont just post a link
You can do it in JQuery

    <script type="text/javascript" src="Scripts/jquery-1.6.2.js"></script>

<script type="text/javascript">
$.getJSON("http://jsonip.appspot.com?callback=?",
function (data) {
alert("Your ip: " + data.ip);
});
</script>


Thank you for posting at Dotnetfunda
[Administrator]

Mahendrabasutkar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response