Connection from outside

+2 votes
Is it possible to make connection to multichain from the outer network, instead of localhost?

let say i have user A connected to my server multichain which i added connection permissions to his address.

After user A changed his network connection, let say he went to another country, is it possible for him to connect to my server? Or i need to grant a new connection permission again?
asked Jan 31, 2017 by lee1010

1 Answer

+1 vote
The connection permissions are based on blockchain addresses (or more precisely, their corresponding private keys) in the node wallets, not on the IP address of the node. So as long as there is no firewall running to prevent it, your user can connect to the other nodes from anywhere.
answered Jan 31, 2017 by MultiChain
So which mean i just run multichaind "chainame" as per normal?
Yes, but the first time a new node connects to a chain, it needs to be:

multichaind [chain-name]@[ip-address]:[port]

This is the "node address" as displayed by other nodes when starting up, or available through the getinfo command.
Hi, sorry for the interruption again, as mentioned in ur comment that

"The connection permissions are based on blockchain addresses (or more precisely, their corresponding private keys) in the node wallets, not on the IP address of the node"

May i know how are the private keys being generated? and can i view it in the node wallets?
The private keys are randomly generated inside the node. You can view them by using a combination of listaddresses and dumpprivkey.
However, it is the case that if a user connects to the chain with a new node, they must have enough disk storage to repose the entire blockchain, is it not?
Yes, each node stores the entire blockchain.
...