Open jonathansmirnoff opened 6 years ago
I resolved this running this command:
docker run -p 18332:18332 --rm --name bitcoin-abc-server -it uphold/bitcoin-abc -printtoconsole -regtest=1 -rpcpassword=abc -rpcuser=abc
I think the problem with the parameter rpcallowip
docker run --env BITCOIN_ABC_DATA=/home/bitcoin/.bitcoin -p 8333:8333 --rm -it uphold/bitcoin-abc \ -printtoconsole \ -testnet \ -rpcbind=0.0.0.0 \ -rpcport=8333 \ -rpcallowip=0.0.0.0/0 \ -rpcpassword=bch \ -rpcuser=bch
Here is my docker command,and I can accesss the rpc port
I tried from bitcoind to the docker image but the connection was refused. I did the following:
docker run -p 18332:18332 --rm --name bitcoin-abc-server -it uphold/bitcoin-abc -printtoconsole -regtest=1 -rpcallowip=127.0.0.1 -rpcpassword=abc -rpcuser=abc
Is there a way to expose the 18332 port to allow the connection from my host machine?