ValueError: "http://x.x.x.255:83/" is not a valid url This is a _valid_ URL. networks are _not_ always /24.