def rest_netloc(node_number=0, host='localhost', first_port=8080):
    """
    Returns a 'host:port' string of the addresses where the node's rest
    interface is expected to be listening.
    
    It assumes nodes are listening on consecutive ports as setup by the
    elrond scripts v2. The node does not need to be running.
    """
    
    return '%s:%i' % (host, first_port + node_number)