<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged multichain-node</title>
<link>https://www.multichain.com/qa/tag/multichain-node</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to connect multichain rpc?</title>
<link>https://www.multichain.com/qa/14889/how-to-connect-multichain-rpc</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have setup multichain in Oracle VM 6.0.4 using centos. i created a chain and in its config file I have put&lt;br /&gt;
&lt;br /&gt;
rpcport = 9699&lt;br /&gt;
&lt;br /&gt;
rpcconnect = 192.168.1.35 (centos ip)&lt;br /&gt;
&lt;br /&gt;
rpcallowip = 192.168.1.79 (my mac ip)&lt;br /&gt;
&lt;br /&gt;
listen =0&lt;br /&gt;
&lt;br /&gt;
Then in my node app I installed &amp;quot;multichain-node&amp;quot; and try to establish a connection. But every time it responds with &amp;quot;ECONNREFUSED&amp;quot;. What should I do to establish an rpc connection?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/14889/how-to-connect-multichain-rpc</guid>
<pubDate>Wed, 24 Jul 2019 05:24:47 +0000</pubDate>
</item>
<item>
<title>multichain-node connection with front end</title>
<link>https://www.multichain.com/qa/13019/multichain-node-connection-with-front-end</link>
<description>I am trying to call getinfo() method &amp;nbsp;and print the output on console using multichain-node npm..&lt;br /&gt;
&lt;br /&gt;
I'get following output on console&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
undefined&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot;&lt;br /&gt;
&amp;quot;&lt;a href=&quot;http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd&amp;quot;&amp;gt;&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd&amp;quot;&amp;gt;&lt;/a&gt;&lt;br /&gt;
&amp;lt;HTML&amp;gt;&lt;br /&gt;
&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;Error&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY&amp;gt;&amp;lt;H1&amp;gt;401 Unauthorized.&amp;lt;/H1&amp;gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&lt;br /&gt;
undefined&lt;br /&gt;
&lt;br /&gt;
What could be the possible mistake?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/13019/multichain-node-connection-with-front-end</guid>
<pubDate>Fri, 08 Mar 2019 11:22:41 +0000</pubDate>
</item>
<item>
<title>Active connection using Java API</title>
<link>https://www.multichain.com/qa/10899/active-connection-using-java-api</link>
<description>Team,&lt;br /&gt;
&lt;br /&gt;
Before executing MultichainCommand Java API, i want to check whether the Node is active or not. Can you please suggest is there any way we can check the Node status active or not using Java API.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10899/active-connection-using-java-api</guid>
<pubDate>Sun, 02 Sep 2018 18:37:01 +0000</pubDate>
</item>
<item>
<title>Unauthorized Error with multichain-node and ssh port forwarding</title>
<link>https://www.multichain.com/qa/5132/unauthorized-error-with-multichain-node-and-port-forwarding</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am using the multichain-node package to connect to a blockchain which is running on a remote&amp;nbsp;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.&lt;/p&gt;&lt;p&gt;Here the connection object:&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;const &lt;/strong&gt;connection = {
    &lt;span style=&quot;color:#9876aa&quot;&gt;port&lt;/span&gt;: &lt;span style=&quot;color:#6897bb&quot;&gt;7194&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;,
&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#9876aa&quot;&gt;host&lt;/span&gt;: &lt;span style=&quot;color:#6a8759&quot;&gt;'127.0.0.1'&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;,
&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#9876aa&quot;&gt;user&lt;/span&gt;: &lt;span style=&quot;color:#6a8759&quot;&gt;'multichainrpc'&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;,
&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#9876aa&quot;&gt;pass&lt;/span&gt;: &lt;span style=&quot;color:#6a8759&quot;&gt;'MyPass'
&lt;/span&gt;}&lt;span style=&quot;color:#cc7832&quot;&gt;;
&lt;/span&gt;&lt;span style=&quot;color:#cc7832&quot;&gt;
&lt;/span&gt;&lt;strong&gt;let &lt;/strong&gt;multichain = require(&lt;span style=&quot;color:#6a8759&quot;&gt;&quot;multichain-node&quot;&lt;/span&gt;)(connection)&lt;span style=&quot;color:#cc7832&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;Do you have any ideas to fix my problem?&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Andreas K.&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/5132/unauthorized-error-with-multichain-node-and-port-forwarding</guid>
<pubDate>Mon, 22 May 2017 13:02:46 +0000</pubDate>
</item>
<item>
<title>get adresses true with multichain-node</title>
<link>https://www.multichain.com/qa/4014/get-adresses-true-with-multichain-node</link>
<description>Hi! I'm starting with multichain and I want to get the public key of an address with the multichain-node wrapper but I don't know how to set verbose true when calling getAdresses. Thank you for your help</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4014/get-adresses-true-with-multichain-node</guid>
<pubDate>Tue, 14 Feb 2017 05:37:53 +0000</pubDate>
</item>
</channel>
</rss>