Changed IP address comparator from == to .equals() due to string type