vendredi 3 mars 2017

how to find ip address in ruby 1.8.7?

Is it possible to get the ip address of server's private ip? i.e., local ip of users who are all accessing my site.

i tried using

request.remote_ip 

but it shows same ip for all the users.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire