RPC error connection

0 votes
Hello,
I getting the following error trying to connect RPC-API "No connection could be made because the target machine actively refused it [ip]:6822", i missing something?
asked Oct 19, 2015 by alonsadeh

1 Answer

0 votes
answered Oct 19, 2015 by MultiChain
yes i works on the server(ssh), i have telnet connection from my computer, i have tried it(multichain-cli chain1 getinfo) from .net call, and i getting 403 error.
OK, well I recommend trying to find a .net library that works with Bitcoin Core, and then using it with MultiChain. This will ensure all the authentication stuff is done correctly. For example: https://github.com/GeorgeKimionis/BitcoinLib
ok, i tried to run it with BitcoinLib....unfortunately i getting the same error.
any suggestions?
Try with just these lines in multichain.conf: rpcuser, rpcpassword, rpcallowip
After a series of attempts, the following worked for me. This could be the case of authentication - duplication of multichain.conf in ~/.multichain and its sub-folders results in multiple sets of rpcuser/password combinations. By default, there is a multichain.conf created in ~/.multichain/chain1/, which is the file when overridden with desired username pasword combinations allows connection through
...