Determine the IP address of the client machine ideally using JavaScript

Posted on 2007-10-15
Last Modified: 2008-01-09
Is there no way to determine the IP address of the client simply using JavaScript?

Basically am looking to give out some code to allow users to post their IP addresses to me, however I need to make this as generic/compatible as possible

Question by:paulCardiff
    1 Comment
    LVL 3

    Accepted Solution

    There is no sure-fire way to grab the IP address of a user using client-side javascripting. You could grab the IP Address of a user using server-side scripting and display it using javascript. However, actually determining the IP address is impossible in the default (and most common security environment).

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now