Trouble Connecting NTC RPC Explorer to Bitcoin Core on myNode

7 replies 38 views
mr_bitNewbie
Posts: 43 · Reputation: 2
#1Jun 11, 2021, 04:23 AM
I just set up myNode OS on a mini PC with 8GB RAM and 2TB SSD. The whole blockchain is loaded and running alright. Electrum Server and Bitcoin work fine. But when I click on the "Explorer" button, I get an error. Really confused about how to fix the NTC RPC Explorer. Anyone know what’s up?
5 Reply Quote Share
mr_bitNewbie
Posts: 43 · Reputation: 2
#2Jun 11, 2021, 10:55 PM
Got a partial log from the BTC RPC Explorer STATUS file. It’s pretty repetitive though, so not posting everything here.
1 Reply Quote Share
whale420Senior Member
Posts: 727 · Reputation: 853
#3Jun 12, 2021, 02:46 AM
What’s in your Bitcoin.conf file? Did you enable RPC? Looks like a connection issue. Try changing BTCEXP_HOST from 0.0.0.0 to 127.0.0.1. Also, put your node's local IP instead of localhost like 192.168.1.1, then restart the explorer.
4 Reply Quote Share
dave.forkMember
Posts: 375 · Reputation: 185
#4Jun 12, 2021, 03:59 AM
The error suggests the explorer is trying to connect via IPv6 to localhost. Is that really supported? You might wanna add two lines in your configuration and change "localhost" to "127.0.0.1" to switch to IPv4.
3 Reply Quote Share
mr_bitNewbie
Posts: 43 · Reputation: 2
#5Jun 12, 2021, 07:49 AM
Weird stuff going on here. First, when I edit the.env file with nano, everything looks fine. But when I restart BTC_RPC_Explorer from myNode, my changes disappear. Second, using "sudo systemctl restart btc-rpc-explorer" throws an error in Terminal. Third, I posted my Bitcoin config earlier. And yes, I enabled RPC but have no clue how to properly set it up. Thanks for any help!
0 Reply Quote Share
mr_bitNewbie
Posts: 43 · Reputation: 2
#6Jun 12, 2021, 11:38 AM
Which config file are you talking about? The Bitcoin one or the.env file?
4 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#7Jun 12, 2021, 04:39 PM
Strange situation. I tried myNode for a bit, and it could be that it overrides settings. Have you checked if you can edit BTC RPC Explorer settings through the myNode app?
4 Reply Quote Share
mr_bitNewbie
Posts: 43 · Reputation: 2
#8Jun 14, 2021, 05:49 AM
Can’t find any option to edit the.env file in the myNode GUI. At least, I’ve looked everywhere and failed.
4 Reply Quote Share

Related topics