Is it possible to accessing node data without internet

+1 vote
I stored and handling data in multichain node with internet successfully, when i disconnect the internet connection, it can't work.

is it possible offline for accessing multichain node in my local machine
asked Oct 31, 2017 by Darwin

2 Answers

0 votes
Yes. You always work with your local node, and active internet connection is required only to sync with other nodes if any..
answered Oct 31, 2017 by saravana
I am using node.js and npm multichain-node package

let multichain = require("multichain-node")({
    port: 8081,
    host: "localhost",
    user: "test",
    pass: "test"
});


var mydata={"Name":"Alwin","City":"Btl"};
multichain.getInfo((error,info) => {
if(error){
throw error;
}
console.log(info);
})

this is my code, i was ran this code with internet connect, i got the output but
without internet i got error


throw error;
^

Error: getaddrinfo ENOENT localhost:8081
    at Object.exports._errnoException (util.js:1016:11)
    at errnoException (dns.js:55:15)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:91:26)


how can i solve it
You are saying that It was working fine when you are in internet, then your multichain configurations should be fine.
Try 127.0.0.1 instead of localhost and check..
+1 vote
I don't believe that you need to have internet for this. As long as your nodes can talk to each other then you are good to go. There are several organizations where access from servers to the internet is strictly restricted.

You disconnect the internet connection and loses the connectivity means your servers are not in the same network and has no connectivity over the LAN. WAN is not needed
answered Oct 31, 2017 by Neeraj
Thank you!!

is it possible to remove asset permanently in the chain
No. you can't. Nothing can be deleted from Blockchain..
...