multichain installation on web hosting server

+2 votes
is it possible to install and run multichain as a script on a Web hosting server ?
asked Sep 5, 2017 by benwest

1 Answer

0 votes
MultiChain is an executable, rather than a script, so it depends on the level of access you have to the server. If it's only uploading PHP and static HTML/image/CSS/etc... files, then the answer is probably no. But if you're allowed to install and run your own software, then the answer is yes.

If it's not possible, you should probably run MultiChain somewhere else (e.g. on a cheap Digital Ocean instance) and then access MultiChain's API from your web server using an appropriate library, either general purpose JSON-RPC or you can try one of the third party libraries listed at the bottom of: https://www.multichain.com/developers/
answered Sep 5, 2017 by MultiChain
After adding listen=0 to the  .conf file, the multichain server start and create a node but but I got the error as follow :

user@webweb:~$ multichaind chain1 -daemon

MultiChain 1.0 Daemon (protocol 10008)

MultiChain server starting
Error: An error occurred while setting up the RPC address 0.0.0.0 port 7732
for listening: bind: Permission denied

Other nodes can connect to this node using:
multichaind chain1@***.***.***.***:7733


This host has multiple IP addresses, so from some networks:

multichaind chain1@xxx.xxx.xxx.xxx:7733
multichaind chain1@yyy.yyy.yyy.yyy:7733

ps: I have changed the ip digits with *, x, y for security purposes.
You should not set listen=0 if you want MultiChain to work as a node that can connect to other nodes. Is there a reason why you did this?
...