def clean_url(address):
    """Remove unwanted data and provide a default value (127.0.0.1)"""
    if address == "":
        return '127.0.0.1'
    address = address.replace("http://", "")
    address = address.replace("https://", "")
    address = address.split(":")[0]
    return address