How to check if an IP address is the local host on a multi-homed system?

Posted by MItch Branting on Stack Overflow See other posts from Stack Overflow or by MItch Branting
Published on 2010-03-09T02:52:25Z Indexed on 2010/03/09 5:21 UTC
Read the original article Hit count: 235

Filed under:

For a machine with multiple NIC cards, is there a convenient method in Java that tells whether a given IP address is the current machine or not. e.g.

boolean IsThisMyIpAddress("192.168.220.25");

© Stack Overflow or respective owner

Related posts about java