简体   繁体   中英

How to resolve: Error Connecting to Substrate [object Event]

https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/interact

I m trying to interact with blockchain n/w on my local as per given description in above link. But it is showing me following on my browser(http://localhost:8000/substrate-front-end-template):

Error Connecting to Substrate [object Event]

How to resolve this error as I am new to substrate I dont know..Plz Help

The substrate-front-end-template will connect to substrate by ws://127.0.0.1:9944 , which is to localhost, so you can open the develop tools in chrome to check if it connect success.

Note that if you open the page not in the chain which running, you need to change config in src/config/development.json.

Also to start the node by substrate with --ws-external

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM