Hello,
I am using the multichain-node package to connect to a blockchain which is running on a remote server. For testing my code, I forwarded the remote port to a port on my machine, because the multichain is only accepting requests from localhost. Now I get an Unauthorized Error, and I don't know why. I also set up a rpcuser and rpcpassword in multichain.conf.
Here the connection object:
const connection = {
port: 7194,
host: '127.0.0.1',
user: 'multichainrpc',
pass: 'MyPass'
};
let multichain = require("multichain-node")(connection);
Do you have any ideas to fix my problem?
Regards,
Andreas K.