---
title: "Discussion on \"How to get a client IP address using JavaScript?\" | Hashnode"
description: "Discussion on \"How to get a client IP address using JavaScript?\". In this article, we are to going to see how to get a client IP address using JavaScript.\n\nWhat is IP address\n\nAn IP (Internet Protocol) address can be defined as the address of network hardware.\nor we can say that an IP address is a combination of nu..."
url: "https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to get a client IP address using JavaScript?](https://nishantgour.tech/how-to-get-a-client-ip-address-using-javascript?utm_source=hashnode&utm_medium=feed)

In this article, we are to going to see how to get a client IP address using JavaScript. What is IP address An IP (Internet Protocol) address can be defined as the address of network hardware. or we can say that an IP address is a combination of nu...

May 13, 2021 · 2 min read · nishantgour.tech  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Nishant Gour](https://hashnode.com/@nishant007)

@nishant007 · Pune,India

  
[View profile](https://hashnode.com/@nishant007)

Software Engineer | Technical Blogger | Competitive Programmer

Writing about Python, Django, Node.Js, Competitive Programmer ,AWS, JavaScript, Cloud Computing and Software Development.

## Responses 2

Markdown supported · ⌘↵ to post

[Aman Chourasia](https://hashnode.com/@amanchourasia)

[May 16, 2021](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc/comment/60a15b93b66a0b15ebfc9d7e)

Can you give the source code of "LISTEN TO THIS ARTICLE" section pls

[Nishant Gour](https://hashnode.com/@nishant007)

[May 17, 2021](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc/comment/60a15b93b66a0b15ebfc9d7e#reply-60a1d4cc23723215ec2fe0c2)

[Aman Chourasia](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/@amanchourasia) that is the functionality provided by platform \[hashnode\]. which is an inbuilt feature. But if you want such functionality, I will share an article soon in both javascript and python.

And Thanks for commenting!

[Aman Chourasia](https://hashnode.com/@amanchourasia)

[May 17, 2021](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc/comment/60a15b93b66a0b15ebfc9d7e#reply-60a204a8b66a0b15ebfca81e)

[Nishant Gour](https://hashnode.com/@nishant007) Yes, I will be glad if you make a dedicated article on that :)

[keerti shukla](https://hashnode.com/@keertihu12)

[May 13, 2021](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc/comment/609d407147373d4cb05612f2)

It was very easy to use and very useful!

[Nishant Gour](https://hashnode.com/@nishant007)

[May 13, 2021](https://hashnode.com/posts/how-to-get-a-client-ip-address-using-javascript/609cf904b684eb4cd52c35fc/comment/609d407147373d4cb05612f2#reply-609d4127b684eb4cd52c42cc)

I am glad you **liked** it!
