host ip must now be passed in