Specify rpcbind and rpcallowip:
MODIFY
WalletWasabi/BitcoinCore/Configuration/CoreConfigTranslator.cs
WalletWasabi/BitcoinCore/Configuration/CoreConfigTranslator.cs
@@ -40,6 +40,10 @@ namespace WalletWasabi.BitcoinCore.Configuration
public string TryGetRpcCookieFile() => TryGetValue("rpccookiefile");
+ public string TryGetRpcBind() => TryGetValue("rpcbind");
+
+ public string TryGetRpcAllowIp() => TryGetValue("rpcallowip");
+
public ushort? TryGetRpcPort()
{
var stringValue = TryGetValue("rpcport");

MODIFY
WalletWasabi/BitcoinCore/CoreNode.cs
WalletWasabi/BitcoinCore/CoreNode.cs
@@ -67,7 +67,7 @@ namespace WalletWasabi.BitcoinCore
string rpcUser = configTranslator.TryGetRpcUser();
string rpcPassword = configTranslator.TryGetRpcPassword();
string rpcCookieFilePath = configTranslator.TryGetRpcCookieFile();
- string rpcHost = IPAddress.Loopback.ToString();
+ string rpcHost = configTranslator.TryGetRpcBind();
int? rpcPort = configTranslator.TryGetRpcPort();
WhiteBind whiteBind = configTranslator.TryGetWhiteBind();
@@ -115,6 +115,8 @@ namespace WalletWasabi.BitcoinCore
$"{configPrefix}.server = 1",
$"{configPrefix}.listen = 1",
$"{configPrefix}.whitebind = {whiteBindPermissionsPart}{coreNode.P2pEndPoint.ToString(coreNode.Network.DefaultPort)}",
+ $"{configPrefix}.rpcbind = {coreNode.RpcEndPoint.GetHostOrDefault()}",
+ $"{configPrefix}.rpcallowip = {IPAddress.Loopback}",
$"{configPrefix}.rpcport = {coreNode.RpcEndPoint.GetPortOrDefault()}"
};

Specify rpcbind and rpcallowip: https://github.com/bitcoinknots/bitcoin/issues/25#issuecomment-595521069