This commit also moves out the ipv4_interfaces method to be a util method, so that the port checker can also access it as a class mehtod