RunKit Discuss
How to know the remote IP address of a request?
Code Showcase
eduardomazolini
March 14, 2023, 7:13pm
1
I try:
req.socket.remoteAddress
req.connection.remoteAddress
But it´s not real remote address.
Related topics
Topic
Replies
Views
Activity
Endpoint: Get user IP address
RunKit Feedback
0
2801
December 4, 2018
Express example
3
1584
March 5, 2018
Socket.io at the endpoint
4
1091
April 1, 2018
IP restriction problem when call our API service
0
1144
August 25, 2021
Request object appears in result
3
1144
January 16, 2018