Detect visitor's IP address using JavaScript

Hi all

It seems it's impossible to detect a visitor's IP using JS. But I have a feeling there is a workaround which can get it.

For example, the JS does an AJAX request which runs a PHP script on a server which is then able to access the IP address via $_SERVER['REMOTE_ADDR'] or $_SERVER['REMOTE_HOST'], and then the IP address is returned to the script, or something like that.

So this is my project:

Try to find some JS which can detect the visitor's IP address. If this is not possible, then try to come up with a trick (e.g. as described above, or anything else which you think will work) which can get the IP address and make it available within a JS script.

Note if you can show me a demo, I am far more likely to select you. If I end up using your code, I will pay you. See my many positive reviews to be confident I won't cheat you.

Fähigkeiten: AJAX, Javascript

Mehr darüber try's, script ip address, ip address script, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, upload using javascript, automatic data entry table using javascript, show hide using javascript, create form using javascript, software write technical manual, using javascript calculate adding shipping, find selected count dropdown using javascript, auto calculate using javascript, calculate difference days using javascript, calculate number days dates using javascript, using javascript php

Über den Arbeitgeber:
( 96 Bewertungen ) NA, Hong Kong

Projekt-ID: #9642070

22 Freelancer bieten im Durchschnitt $73 für diesen Job


I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor Mehr

$100 USD in 1 Tag
(128 Bewertungen)

First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss requireme Mehr

$200 USD in 3 Tagen
(85 Bewertungen)

Hello Yes, There is no way to make the JS detect the IP because JS is client side, so, YES, it should be work through AJAX request to detect the Connection Remote Address through server request. I can Impleme Mehr

$35 USD in 0 Tagen
(92 Bewertungen)

I can do this job i will detect visitor ip address via java script or ajax , please first tell me about your project from where u want to add visitor ip address in your website I m expert web developer, i have seve Mehr

$30 USD in 1 Tag
(34 Bewertungen)

Hi, I am very interested in your project. Please contact me ................................................ Manh

$30 USD in 1 Tag
(22 Bewertungen)

hi, I understood your requirement. Please start communcation. I can provide you with a code you require in php ajax.

$66 USD in 1 Tag
(16 Bewertungen)
$147 USD in 0 Tagen
(29 Bewertungen)

A proposal has not yet been provided

$35 USD in 2 Tagen
(5 Bewertungen)

hi, i can do this project.

$40 USD in 1 Tag
(10 Bewertungen)

Hello sir I am interested in this project i have 5 years experience in PHP/MYSQL javascript JQUERY jquery ui ajax i can help I assure you a professional and satisfactory work that wont disappoint. ready to st Mehr

$55 USD in 3 Tagen
(2 Bewertungen)

Thanks for giving an opportunity to work for you! I have discussed your requirements with our technical head and I got to know that we can fetch the visitors IP by two ways, as I am not technical I might not be able Mehr

$166 USD in 3 Tagen
(3 Bewertungen)

Only pay after the completion of project. I am professional in all type of Software & Website development with more than 2 years of experience.I have read your project description and it is honor for me to do your job Mehr

$45 USD in 3 Tagen
(3 Bewertungen)

Dear, My proficiency include demonstrated expertise in HTML5, CSS3, PSD to HTML/CSS, Bootstrap, Creating responsive templates, MYSQL,on page SEO. In order to further discuss this, I am mostly on the internet on gmail c Mehr

$74 USD in 3 Tagen
(1 Bewertung)

Hi, Your solution is perfectly fine and it is what I thought about when reading your title. I also found another solution that works with firefox and chrome. I'd be glad to provide a demo if you ask me

$35 USD in 1 Tag
(5 Bewertungen)

you can not get the IP from within PHP. so you need to placa AJAX call to a php server. exactly the way you described. I am here for 2 weeks only, but have a look at the projects I did and fantastic reviews. 100% comp Mehr

$55 USD in 1 Tag
(2 Bewertungen)

Hi I have experience of 3 years in PHP web development and I have done this type of work and also there are many js and API there for your type of work so if you let me do this I'm sure i will help you Waiting for y Mehr

$166 USD in 1 Tag
(2 Bewertungen)

Hi! i Have already have a solution with json request to jsonip service. please check atached files.. P.S. cant attach files, please write PM to me and i will send you files

$30 USD in 0 Tagen
(1 Bewertung)

Hello. If a visitor accesses your page in PHP, you detect its IP via $_SERVER['REMOTE_ADDR'] or $_SERVER['REMOTE_HOST'], yes. further you must response to visitor, I think that it will be some HTML page, if so, then yo Mehr

$55 USD in 3 Tagen
(0 Bewertungen)

This can be done using javascript if you use a script from another site to reach the ip. or by making a php script and then access it by javascript. I can do this for you.

$35 USD in 2 Tagen
(0 Bewertungen)

Hi mate, I am new but has done such work before. Here is my skype i.d ramiznazir. I can show you work done same as you are asking. I just need a chance to show that I am perfect for this job. Waiting for your kind res Mehr

$55 USD in 3 Tagen
(0 Bewertungen)