0

I'm running Windows 10 so I can't use any Linux commands which everything I've looked up has when faced with this issue. I've uninstalled and reinstalled it a few times, I've turned off my antivirus and it still doesn't connect. The blockchain finishes then it just restarts again in a loop. I cannot find a way to fix this.

1
  • In windows start monerod.exe by right click START AS ADMINISTRATOR
    – Muisca
    Jun 13, 2022 at 12:20

2 Answers 2

1

This means either the daemon is not running on your machine or VM, or is running on a different port, or your OS is preventing the connection.

To check the first case: look at your list of processes (some equivalent of the ps utility)

To check the second case: look at the list of listening processes (some equivalent of the netstat or ss utilies)

If you do find a monerod listening on 18081 in the steps above, then it's your OS preventing the connection. A fix for this, though probably not the only one, is to change OS (and not only for that reason).

2
  • It's running on 23 different ports according to cport, is it supposed to do this? I decided to run monero-daemon.bat and it appears to be working. It's about 54% through and says it'll take 1 day. Is it usually this long or is there still a problem? The only other OS I use is Kali Linux.
    – Jake
    Jun 28, 2021 at 5:11
  • It's plausible. As long as it's listening on port 18081, that's what you want. It'll also be connected to other peers on the Monero network, from where it gets the chain. A couple days looks like a plausible time to get the chain. SSDs on beefy hardware should get it in less than a day, slow spinning hard drives can take a week.
    – user36303
    Jun 28, 2021 at 7:38
0

I had to add the confirm-external-bind=1 option to the monerod.conf file which had fixed the error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.