Can we get IP address and/or machine of client accessing a particular website?

Amogh Natu

I'm having a scenario wherein I need either the machine name of the client who is accessing my website or his actual IP address.

I did a lot of searching and browsing and I found that most of the responses suggested me to use Request.ServerVariables["REMOTE_ADDR"] or Request.UserHostAddress. But this is not what I'm looking for. Both of these are returning the server's IP address instead of the actual IP address of the client who is accessing my website.

I found this particular article that shows how to get the IP address of the client using some external web service call. I tried it but it didn't work.

I even found many responses saying that getting the actual IP address isn't possible and getting the machine name of the client is also not possible if the client is accessing from outside the intranet.

Can someone please confirm this and correct me if I'm wrong? Thank you. :)

Alok Agarwal

try this site

http://www.geekpedia.com/tutorial45_How-to-get-IP-address-of-client.html

here they have given a way to do it may be it will help

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Getting IP Address of website client returning host IP

分類Dev

how to get container host machine ip address and container name in EKS

分類Dev

How to get client IP address in Laravel 5+

分類Dev

DHCP client fails to get IP address (Modem EM7430)

分類Dev

stop access to website by IP address

分類Dev

Retrieving the client request ip address

分類Dev

Retrieving the client request ip address

分類Dev

how can i get clients ip address on UDP server in golang?

分類Dev

Does every Virtual Machine that Github spins up for a workflow run get a new IP address?

分類Dev

Client IP address at server using RDMA?

分類Dev

Getting the IP address of the client on an ASMX Web service

分類Dev

XSS attack in client's IP address

分類Dev

Can a private IP address change?

分類Dev

Virtualbox: get host IP address

分類Dev

can we assume interpreter as a virtual machine?

分類Dev

Can I get my IP address in a chrome app without using an external service?

分類Dev

find host ip address when guest machine is connected to host

分類Dev

Qt get external IP address using QNetworkReply

分類Dev

Get IP address of domain with Unicode characters?

分類Dev

apt-get — Specify source IP address

分類Dev

How to connect to elasticsearch server using rest client with IP address

分類Dev

Get local IP address from "ip route" cross-platform

分類Dev

How can I request a client certificate only from a particular CA

分類Dev

Can we use Paypal Express Checkout with "Ship to multiple address" option

分類Dev

FastAPI (starlette) get client real IP

分類Dev

How to block clients by IP address from accessing certain URLs on my web server?

分類Dev

How to automatically include client ip address from Request()->ip() in eloquent create method using Laravel 5.2?

分類Dev

Windows 10 network: We can access to network computers by IP but not by NAME

分類Dev

Can we get an array of all storyboard views

Related 関連記事

  1. 1

    Getting IP Address of website client returning host IP

  2. 2

    how to get container host machine ip address and container name in EKS

  3. 3

    How to get client IP address in Laravel 5+

  4. 4

    DHCP client fails to get IP address (Modem EM7430)

  5. 5

    stop access to website by IP address

  6. 6

    Retrieving the client request ip address

  7. 7

    Retrieving the client request ip address

  8. 8

    how can i get clients ip address on UDP server in golang?

  9. 9

    Does every Virtual Machine that Github spins up for a workflow run get a new IP address?

  10. 10

    Client IP address at server using RDMA?

  11. 11

    Getting the IP address of the client on an ASMX Web service

  12. 12

    XSS attack in client's IP address

  13. 13

    Can a private IP address change?

  14. 14

    Virtualbox: get host IP address

  15. 15

    can we assume interpreter as a virtual machine?

  16. 16

    Can I get my IP address in a chrome app without using an external service?

  17. 17

    find host ip address when guest machine is connected to host

  18. 18

    Qt get external IP address using QNetworkReply

  19. 19

    Get IP address of domain with Unicode characters?

  20. 20

    apt-get — Specify source IP address

  21. 21

    How to connect to elasticsearch server using rest client with IP address

  22. 22

    Get local IP address from "ip route" cross-platform

  23. 23

    How can I request a client certificate only from a particular CA

  24. 24

    Can we use Paypal Express Checkout with "Ship to multiple address" option

  25. 25

    FastAPI (starlette) get client real IP

  26. 26

    How to block clients by IP address from accessing certain URLs on my web server?

  27. 27

    How to automatically include client ip address from Request()->ip() in eloquent create method using Laravel 5.2?

  28. 28

    Windows 10 network: We can access to network computers by IP but not by NAME

  29. 29

    Can we get an array of all storyboard views

ホットタグ

アーカイブ