java - Using Jax-ws WebTarget how to get remote IP Address for the service invoked? -
i accessing remote service using jax-rs client webtarget, remote service using dns stub load balance 6 nodes,
for eg: https://example.com/rest , service resolve 1 of 6 nodes during execution
now how can determine ip address of node being resolved each call?
1st request may resolve ip1
2nd request may resolve ip2
i know ip's used example.com, want know ip being used given service invocation.
thanks in advance
Comments
Post a Comment