def METHOD_NAME(self, allow_ips, rpchost, rpcport):
    '''
    Start a node with rpcallow IP, and request getnetworkinfo
    at a non-localhost IP.
    '''
    self.log.info("Allow IP test for %s:%d" % (rpchost, rpcport))
    base_args = ['-disablewallet', '-nolisten'] + ['-rpcallowip='+x for x in allow_ips]
    self.nodes[0].rpchost = None
    self.start_nodes([base_args])
    # connect to node through non-loopback interface
    node = get_rpc_proxy(rpc_url(self.nodes[0].datadir, 0, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir)
    node.getnetworkinfo()
    self.stop_nodes()