pull down to refresh
0 sats \ 6 replies \ @ama 3 Jan \ on: Trouble with getting incoming connections on new Bitcoin node. bitcoin_support
Since you haven't got any other answer yet, I've thought I'd ask perplexity.ai, and I got:
Based on the information provided, it appears that port forwarding and setting up a fixed IP for your Huawei E8372 4G dongle is not possible. This is because cellular networks typically use NAT (Network Address Translation) and do not allow direct incoming connections14.
To enable incoming connections for your Bitcoin node, using Tor is indeed a good alternative. By configuring Bitcoin Core to use Tor, you can bypass the limitations of your cellular network and allow incoming connections without port forwarding2.
To set up Bitcoin Core to use Tor, you can add the following lines to your bitcoin.conf file:
text
proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1
externalip=YOUR_ONION_ADDRESS.onion
Replace "YOUR_ONION_ADDRESS" with the actual .onion address of your Tor hidden service2.
Using SOCKS (as you mentioned) is part of the Tor configuration. SOCKS is a protocol that routes network packets between a client and server through a proxy server, which in this case is Tor2.
By setting up Bitcoin Core to use Tor, you should be able to accept incoming connections without needing to configure port forwarding on your 4G dongle. This setup allows other Tor users to connect to your node, enhancing your participation in the Bitcoin network while working around the limitations of your cellular internet connection23.
I don't know if it'll help. :-)
Thank you - this is the exact sort of answer I hoped for. Just need to figure out how to edit bitcoin.conf file and how to find my Tor actual.onion address.
Will try to do this later today.
reply
reply
bitcoin-cli getnetworkinfo
reports
'error: timeout on transcient error: Could not connect to server 127.0.0.1.8332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.'
reply
Thanks but how do I edit the config file? Do I need a special application to do that?
reply
You need a text editor. I like using a console based editor, like Vim, but you probably prefer a GUI one. Gedit was a popular one a few years ago, when I used the Gnome desktop environment. Any 'editor', 'notepad' or similar program you find on your 'tools' or 'office' menu or similar should do. It's just a text file.
reply
Ok thanks again- will try Gedit.
PS just enabled RPC port in oprions and restarting- maybe can help connection re error above.
reply