How to find my IP Address ? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to find my IP Address ?

smart.bitssmart.bits Posts: 1Member
edited October 2013 in JavaScript
Hi all !

May someone help me in this problem ?

I have heard that, computers connected to internet (via Dial-Up connections) are assigned (every time they dial-in) a temporary IP address, so that it can be reachable on the internet (eg. by Web servers from whom I request pages).

Now my question is, how do I know (preferably using JavaScript alone) which IP-Address I am (my computer) assigned by my ISP ?

Thanks for you attention, kindly reply !

Tagged:
«1

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi all !
    :
    : May someone help me in this problem ?
    :
    : I have heard that, computers connected to internet (via Dial-Up connections) are assigned (every time they dial-in) a temporary IP address, so that it can be reachable on the internet (eg. by Web servers from whom I request pages).
    :
    : Now my question is, how do I know (preferably using JavaScript alone) which IP-Address I am (my computer) assigned by my ISP ?
    :
    : Thanks for you attention, kindly reply !
    :
    :
    I found numerous pages with scripts, but all used javascript and a server-script language (such as php or SSI).
    This one uses SSI: http://www.javascriptkit.com/script/script2/displayip.shtml
    This one uses Java:
    http://javascript.internet.com/user-details/ip.html
    Others can be found on google.
  • hhhobbithhhobbit Posts: 1Member
    The JavaScript function you want may not be visible outside of the FindProxyForURL(url, host) function you can use:

    myAddress = myIpAddress();

    So far, there seems to be no good way of returning this to the web host you are going to (proper sand-boxing). Is this what you needed?


  • radha65radha65 Posts: 6Member
    You can get ip address from [link=http://www.ip-details.com/]ip address[/link] or follow these steps.


    1. Click on Start in the bottom left hand corner of your screen.
    2. Click on Run. An input box will appear with a flashing cursor.
    3. Type "cmd" or "Command" in the Run box.
    run cmd command
    run cmd command
    4. Click on OK or press the Enter key on your keyboard.Or click on start. Go to programs.Go to Accessories and click on Comand Prompt.
    5. An MS DOS Window will open (see image). You are now ready to send a command to your computer.
    cmd command
    cmd command
    6. Type "netstat -n" including the space.
    7. Press Enter(see image).
    netstat command
    netstat command
    8. You will see a list of all your active connections and IP numbers.
    9. You will see four fields with four columns.
    10. The Local Address field identifies your IP number. The Foreign Address field shows the IP numbers of the sites or people to whom you are connected. In the image, I am talking to two friends on Messenger, so two IP addresses are shown in the Foreign Address field.
    11. You can also see what programs are being used to connect to those IP addresses by typing "netstat -nab". That way, if you are connected to more than one foreign IP address, you can more easily pick out the address you are interested in.
    12. Also another way you can do it is Start>Run>Cmd>Ipconfig This should show you: your masked IP and IP.
    13. An easy alternative way to determine your IP is to use an online IP checker like Get My IP Address

  • tejjitejji Posts: 4Member
    http://tejji.com/ip/myipaddress.aspx

    Above address shows you IP as well as MAC addresses & Geographic location with coordinates in Google Maps
  • MikhusMikhus Posts: 3Member
    With using Smart-IP.net [link=http://smart-ip.net/geoip-api]Geo-IP API[/link]. For example, by using jQuery:

    [code]


    $(document).ready( function() {
    $.getJSON( "http://smart-ip.net/geoip-json?callback=?",
    function(data){
    $('#myip').html( data.host);
    }
    );
    });


    [/code]
  • MikhusMikhus Posts: 3Member
    With using Smart-IP.net [link=http://smart-ip.net/geoip-api]Geo-IP API[/link]. For example, by using jQuery:

    [code]


    $(document).ready( function() {
    $.getJSON( "http://smart-ip.net/geoip-json?callback=?",
    function(data){
    $('#myip').html( data.host);
    }
    );
    });


    [/code]
  • MikhusMikhus Posts: 3Member
    With using Smart-IP.net [link=http://smart-ip.net/geoip-api]Geo-IP API[/link]. For example, by using jQuery:

    [code]
    $(document).ready( function() {
    $.getJSON( "http://smart-ip.net/geoip-json?callback=?",
    function(data){
    alert( data.host);
    }
    );
    });
    [/code]
  • hulkfanhulkfan Posts: 4Member
    Hi, you can find out the IP address which was assigned to you by your ISP from . It is very simple.
  • BajraBajra Posts: 3Member
    I have been looking for this product/service and I found this one [link=http://www.getiplocation.com/]find my ip[/link] I am not sure about the quality or the origin of their offering. Has anyone have looked into this before? If you have any other options you know are worth the time to check out, please post them here. Thanks!
«1
Sign In or Register to comment.