Ask coding questions

← Back to all posts
How would I make a IP Address getter?
TheNethrRaven (86)

How would I be able to make a webpage that can tell people their IP?

Comments
hotnewtop
Coder100 (18238)

not allowed because tos

RoBlockHead (521)

You cannot, Replit specifically makes it so that repls can't get the IP of the client.

RayhanADev (2528)

@RoBlockHead how so? I don't recall any proofing of Repls to disallow getting the IP of the client.

RoBlockHead (521)

@RayhanADev the Repl.co proxy makes it so that you can’t get the IP address, so all requests look like the same IP

RayhanADev (2528)

@RoBlockHead oh that's interesting. I never knew that :O.