You are not logged in.
I wasn't sure of what topic does this question come under so i posted it here because i am mining crypto on my laptop.
I have gotten into mining and i successfully synced the blockchain on geth and downloaded ethminer.
When i follow the instructions provided in the official documentation (https://geth.ethereum.org/docs/interface/mining), and try mining through port 8545, it shows connection refused.
In short, what kind of port do i use? and what do i do? i tried googling this thing but can't find a clear answer.
p.s. if its not clear i am new with this
I am doing this on my dell g3 3590 laptop
Note: i have posted this on reddit too, so i am linking it here so this is updated
https://www.reddit.com/r/archlinux/comm … or_mining/
edit: alright i browsed again and it turns out port 8545 is closed, how do i open it i tried using this command:
sudo iptables -A INPUT -p tcp --dport 8545 -j ACCEPTIs there any other way to open it?
Last edited by kashishme (2021-12-18 04:30:21)
Offline
Well the first question is whether you installed any other firewalls like ufw or whether you have any custom rules in iptables
While the miner is running, run
sudo iptables -Sthen
ss -tulpnand please post the output here
This should give us an insight into what ports are closed/open and what the miner is trying to connect on
Edit: I have tried to run geth in the past and for me it worked fine without any configuration, no ports needing to be allowed/forwarded although I was not running any firewalls at the time
Last edited by Venem (2021-12-17 12:16:17)
Well the first question is whether you installed any other firewalls like ufw or whether you have any custom rules in iptables
While the miner is running, run
sudo iptables -Sthen
ss -tulpnand please post the output here
This should give us an insight into what ports are closed/open and what the miner is trying to connect on
Edit: I have tried to run geth in the past and for me it worked fine without any configuration, no ports needing to be allowed/forwarded although I was not running any firewalls at the time
I was about to update here, wanted to say that yesterday i reinstalled geth and downloaded everything again and out of the blue everything was working fine, Thank you for your help though.
Offline
Ok no problem always glad (to try) to help lol