👉 Source code: openjavascript.info/2022/09/09/get-a-users-location-with-frontend-javascript/ Also, I made slight boo boo in this video: the ip.address() method actually returns the IP address of the hosting server, not the incoming request! The good news is that you CAN determine the IP of an incoming request vanilla by calling req.socket.remoteAddress inside the server code on the incoming request. No need for the IP package!
@ConstantineFortuna-tz1yh Жыл бұрын
so how do i make it so whenever they log on to my website i get the ip instead of it being local host 3000
@diogosantos2049 Жыл бұрын
If I put this on my website will not appear the message "fraudulent website" or some other security message?
@ConstantineFortuna-tz1yh Жыл бұрын
if u put in terms and conditions then no
@diogosantos2049 Жыл бұрын
@@ConstantineFortuna-tz1yh what do you mean
@OscarA-c2lАй бұрын
2:41 - That's your server IP, not your actual IP address.