Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
Multichain Demo not working for me, It loads but none of my nodes load
"listassets" does not work from multichain-web-demo
Web demo not connecting to API
Is Web demo upgraded ?
MultiChain Web Demo ERROR 401
4,157
questions
4,370
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
Multichain web demo is not working
+2
votes
Hi,
I have cloned the source code from the git (
https://github.com/MultiChain/multichain-web-demo
) which is a multichain web demo developed on PHP. I have hosted in local server and run the chain and am getting the following error (
https://imgur.com/3NS8ZAi
)
The screen shot is here(
https://imgur.com/3NS8ZAi
)
Thanks in advance.
multichain
demo
web
asked
Oct 3, 2017
by
shivap17
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
+1
vote
Hi,
Am answering my own question because this may useful for someone. My web server and block chain was running on the same machine,
answered
Oct 3, 2017
by
shivap17
I assume you mean there weren't running on the same machine, but now that they are it works? There is also the option of using rpcallowip for the situation where they're not running on the same machine.
Hi,
Previously the block chain and the web server is running on the same machine. That is why I got the error what I have mentioned in the question earlier. If I keep them (block chain and web server) in separate machines, I didn't face any issues. Is there any option to keep block chain and web server on same machine?
That's strange - usually the issue is the other way round, with people needing to use the rpcallowip setting to enable a separation. In your case this may be a firewall or other system configuration issue, but certainly there's nothing inside MultiChain to prevent co-hosting of the node and web server on the same machine.
The mistake I was making was that web server is running in the same machine as the node. But I put the actual address instead of default.rpchost=127.0.0.1 . So I had to put rpcallowip=[IP address of your web server] in the config file which I had overlooked
Ah, OK. That makes sense!
Please
log in
or
register
to add a comment.
...