MultiChain Web Demo ERROR 401

+4 votes

Thank you for your attention to this matter.

I just installed the Multichain and follow the guideline from "web-demo", however, I only can see "ERROR 401 unauthorised" at all the PHP pages.

The steps that I have done: 

Step 1: 

multichain-util create chain1
multichaind chain1 -daemon
( As the web server is running on the same computer, therefore, I do not need to motifty "rpcallowip" )
Step 2: 
nano ~/.multichain/chain1/multichain.conf  --> rpcuser=user rpcpassword=user123
The rpc-port is 7200
Step 3:  ‚ÄčIn the demo website directory config.txt                # name to display in the web interface
default.rpchost=           # IP address of MultiChain node
default.rpcport=7200               # see rpc-port from chain parameters
default.rpcuser=user       # username for RPC from multichain.conf
default.rpcpassword=user123 # password for RPC from multichain.conf


asked Mar 19, 2017 by anonymous

1 Answer

+1 vote
Best answer

The following could be the reasons.. 

1. multichain.conf -> it should be rpcport=7200 not rpc-port as you have given here.. 

2. Also, verify in params.dat for this value default-rpc-port = 7200


answered Mar 20, 2017 by saravana