I want to start my own blockchain. I try to start substrate-node-template and substrate-front-end-template remotely, but there is guide instructions only for local machine. I installed and compiled node and frontend on linux dedicated server. The question is:
- How to start node remotely and make it run even when I close the ssh panel.
- How to make frontend find the node? Because when I open the link somesite.com - it tries to connect the node all the time? and all the time gets an errors with no connections.
Frontend error:
Error Connecting to Substrate
Connection to websocket 'wss://127.0.0.1:9944/' failed.
Log from my node-template:
2023-07-19 13:38:51 Accepting new connection 1/100
2023-07-19 13:38:51 HTTP serve connection failed hyper::Error(Parse(Method))
2023-07-19 13:38:54 ✨ Imported #140 (0xfca2…389f)
Commands I use:
./target/release/node-template
--base-path /tmp/alice
--chain local
--alice
--port 30333
--ws-port 9944
--rpc-port 9933
--node-key 0000000000000000000000000000000000000000000000000000000000000001
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
--validator
--unsafe-ws-external
--unsafe-rpc-external
--rpc-cors=all
--rpc-methods=Unsafe