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))
    node_args = \
        ['-disablewallet', '-nolisten'] + \
        ['-rpcallowip='+x for x in allow_ips] + \
        ['-rpcbind='+addr for addr in ['127.0.0.1', "%s:%d" % (rpchost, rpcport)]] # Bind to localhost as well so start_nodes doesn't hang
    self.nodes[0].rpchost = None
    self.start_nodes([node_args])
    # connect to node through non-loopback interface
    node = get_rpc_proxy(rpc_url(self.nodes[0].datadir, 0, self.chain, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir)
    node.getnetworkinfo()
    self.stop_nodes()