Questions tagged [clientip]

50 questions
0
votes
2 answers

Get client IP with Connect Package of connect

I have a small server script written in nodejs and I would like to get the client IP, but I don't seem to find my way yet. I am using the Connect package to create my server. Does anybody know how to get the ip using Connect package of nodejs. I've…
Abu Romaïssae
  • 3,841
  • 5
  • 37
  • 59
0
votes
1 answer

cakephp 2.3 not returning the user's real ip

I am trying to use the function "clientIp", to get the real IP of the user, but this is not returning anything. I'm using this: $ipAddr = $this->request->clientIp(); print_r($ipAddr);die(); And print it " ::1 " instead of the actual ip print,…
samuel_R
  • 501
  • 1
  • 5
  • 18
0
votes
1 answer

Get IP Address of the requested client(Soap message)

I am working on creating soap message and need a find a requested client IP. I have been finding a way to find a client IP but still can't. Could you let me know steps how i can find a client ip when get a request from client?
-1
votes
1 answer

When HttpServletRequest getHeader return unknown?

I am using the below code (Copied from another post - How do I get the remote address of a client in servlet?) to get the client IP address along with the proxy server (SpringBoot Appln deployed in PCF). public static String…
Thiagarajan Ramanathan
  • 1,035
  • 5
  • 24
  • 32
-1
votes
2 answers

How can I get the IP address from a ServletRequest, not a HTTPServletRequest ?

I'm trying to find a Java method that would get a ServletRequest and finds the IP address for that request. Something like this method that I found but would receive a ServletRequest instead of HTTPServletRequest :
sophie96
  • 29
  • 1
  • 8
1 2 3
4