Docker 比特币RPC远程连接不工作,仅来自比特币cli

Docker 比特币RPC远程连接不工作,仅来自比特币cli,docker,bitcoind,btcpay-server,Docker,Bitcoind,Btcpay Server,我无法从本地主机或网络主机连接到我的比特币rpc(托管在digitalocean的docker上) 我已经尝试更改配置文件以接受任何连接,我已经使用sudo afw打开了我的端口,但仍然没有成功。 服务器连接被拒绝是一个错误。 我的配置日志(已删除详细信息) 我能够从cli执行命令,如getnetworkinfo。 我已经使用BTCPay设置了我的服务器 当我查看debug.log时,我注意到它使用的是加载不同的配置文件。从/home/bitcoin/.bitcoin/bitcoin.conf(

我无法从本地主机或网络主机连接到我的比特币rpc(托管在digitalocean的docker上)

我已经尝试更改配置文件以接受任何连接,我已经使用sudo afw打开了我的端口,但仍然没有成功。 服务器连接被拒绝是一个错误。 我的配置日志(已删除详细信息)

我能够从cli执行命令,如getnetworkinfo。 我已经使用BTCPay设置了我的服务器

当我查看debug.log时,我注意到它使用的是加载不同的配置文件。从/home/bitcoin/.bitcoin/bitcoin.conf(我根本找不到这个文件) 而我的位置是/var/lib/docker/volumes/generated\u bitcoin\u datadir/\u data

mainnet=1
[main]
walletdir=/walletdata/mainnet
server=1
daemon=1
rpcallowip=0.0.0.0/0
rpcbind=0.0.0.0

printtoconsole=1
port=39388
maxmempool=500

rpcuser=user
rpcpassword=user
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=
prune=25000
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
zmqpubhashblock=tcp://0.0.0.0:28334

onion=tor:9050
# rpcuser=
# rpcpassword=
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=