Anyone knows how to connect to (or even possible) a remote "-regtest" server? I have managed to setup the -regtest daemon, but still trying to figure out how to connect to it using BitCoinJ client.
===== Update ======
Just in-case someone here has the same query, I've managed to connect to the remote -regtest, I can now download the blockchain and perform RPC using BitCoinJ
Just follow the bitcoin example to setup the bitcoind. (I ran using bitcoind -regtest -daemon)
In the BitcoinJ code, use the REG_TEST_NET, and add your remote -regtest server's IP to BitCoinJ's PeerGroup object using
- in the bitcoin.conf, I set the additional following attributes server=1 rpcport=18444