Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

works on localhost but not when deployed. #23

Open
thelionleo opened this issue Apr 10, 2021 · 3 comments
Open

works on localhost but not when deployed. #23

thelionleo opened this issue Apr 10, 2021 · 3 comments

Comments

@thelionleo
Copy link

Correctly identifies mac address when on localhost. When deployed to amazon EC2 with cloudflare, it always have same mac address regardless of the device. is it because of cloudflare or does it only get the mac address of the server and not on the device accessing it?

@nekuz0r
Copy link

nekuz0r commented Apr 14, 2021

@thelionleo It returns the mac address of the host (Your Amazon EC2).
There is no way to get the mac address of the client in a client-server configuration unless the client voluntarily provides it.
When running on "localhost" your computer is the host.

@satyam-quizophy
Copy link

Correctly identifies mac address when on localhost. When deployed to amazon EC2 with cloudflare, it always have same mac address regardless of the device. is it because of cloudflare or does it only get the mac address of the server and not on the device accessing it?

Any Other Method to get IP and MAC address on production.Please Help.

@satyam-quizophy
Copy link

@thelionleo It returns the mac address of the host (Your Amazon EC2). There is no way to get the mac address of the client in a client-server configuration unless the client voluntarily provides it. When running on "localhost" your computer is the host.

I need client IP and MAC address . Any way to get both client detail. If possible the help plzzz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants