79653195

Date: 2025-06-04 16:59:42
Score: 2
Natty:
Report link

You shouldn't warry about which NIC or network address is used to perform a query but you can figure out the request IP address on which your query is going.

RequestConfig.getLocalAddress()

\>Returns local address to be used for request execution.

On machines with multiple network interfaces, this parameter can be used to select the network interface from which the connection originates.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: SOLoose