address
address copied to clipboard
works on localhost but not when deployed.
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?
@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.
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.
@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.