<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged remote</title>
<link>https://www.multichain.com/qa/tag/remote</link>
<description>Powered by Question2Answer</description>
<item>
<title>interact with multichain remotely</title>
<link>https://www.multichain.com/qa/16063/interact-with-multichain-remotely</link>
<description>Hi, I'm trying to create a serverless backend application on AWS. It's basically a backend cut into tens of separate functions (or microservices) that drastically reduce cost and uptime issues. However, this means that the code to interact with multichain will not be hosted on the same device. Multichain will be running on a EC2 instance and the code to interact with it will only spin up on demand&lt;br /&gt;
&lt;br /&gt;
I'm already able to interact with the multichain node using my ip for rpcallowip. I'm not sure what kind of behaviour these serverless functions will have in terms of IP changes (pretty much all of AWS services are able to be connected to each other one way or another) but I heard that allowing 0.0.0.0/0 is a big problem because the RPC password is not encrypted.&lt;br /&gt;
&lt;br /&gt;
What's the best thing I can do, to make my interaction with multichain more secure? If it helps, just ignore the serverless AWS and what not and look at it as if it's a regular remote interaction.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/16063/interact-with-multichain-remotely</guid>
<pubDate>Thu, 10 Oct 2019 18:48:11 +0000</pubDate>
</item>
<item>
<title>API Calls to remote node</title>
<link>https://www.multichain.com/qa/3180/api-calls-to-remote-node</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have setup a multichain node on a remote server. I am trying to make API calls using the javascript API (&lt;a href=&quot;https://github.com/scoin/multichain-node),&quot; rel=&quot;nofollow&quot;&gt;https://github.com/scoin/multichain-node),&lt;/a&gt; but I get ECONNREFUSED and socket hang up errors.&lt;/p&gt;&lt;p&gt;I am testing the first commands provided in test.js :&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;let&lt;/span&gt; multichain &lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color:rgb(0, 134, 179)&quot;&gt;require&lt;/span&gt;(&lt;span style=&quot;color:rgb(24, 54, 145)&quot;&gt;&quot;multichain-node&quot;&lt;/span&gt;)({
    port&lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:rgb(0, 134, 179)&quot;&gt;6282&lt;/span&gt;,
    host&lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:rgb(24, 54, 145)&quot;&gt;'127.0.0.1'&lt;/span&gt;,
    user&lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:rgb(24, 54, 145)&quot;&gt;&quot;multichainrpc&quot;&lt;/span&gt;,
    pass&lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:rgb(24, 54, 145)&quot;&gt;&quot;somepass&quot;&lt;/span&gt;
});

multichain.&lt;span style=&quot;color:rgb(121, 93, 163)&quot;&gt;getInfo&lt;/span&gt;((err, info) &lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;=&amp;gt;&lt;/span&gt; {
    &lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;if&lt;/span&gt;(err){
        &lt;span style=&quot;color:rgb(167, 29, 93)&quot;&gt;throw&lt;/span&gt; err;
    }
    &lt;span style=&quot;color:rgb(121, 93, 163)&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color:rgb(0, 134, 179)&quot;&gt;log&lt;/span&gt;(info);
})&lt;/pre&gt;&lt;pre&gt;
&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;with the connexion parameters of my remote server, as follow&lt;/pre&gt;&lt;pre&gt;Port : default-rpc&lt;/pre&gt;&lt;pre&gt;Host : ip address of remote server&lt;/pre&gt;&lt;pre&gt;And the username/password provided in the multichain.conf file of my chain.&lt;/pre&gt;&lt;pre&gt;
&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;What have I missed ?&lt;/pre&gt;&lt;pre&gt;
&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;Thanks ! :)&lt;/pre&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3180/api-calls-to-remote-node</guid>
<pubDate>Wed, 23 Nov 2016 16:52:44 +0000</pubDate>
</item>
</channel>
</rss>