Connect to the multichain

+1 vote
Hi I have a front end application to manage assets. And have a separate digital ocean machine to handle the multichain. Have tried to connect the front end application from local and which points to digital ocean machine.

Have added the param rpcallowip=192.168.0.7  in the multichain.conf file and restarted the blockchain. But not able to connect from the local machine through the front-end application. but when I added the param as

rpcallowip=0.0.0.0/0  am able to connect.  can you please help me to fix this?

 

Thanks
asked Jan 25, 2021 by shivap17

1 Answer

+2 votes

The rpcallowip needs to grant explicit access to the IP address of the application server which is sending the API requests to MultiChain. An address like 192.168.0.7 is for a local network and is not the address that the server will see on the incoming API requests. Try visiting www.whatismyip.com from the application server to see its IP address from the outside world's perspective.

answered Jan 25, 2021 by MultiChain
...