crawlDHT.js never announces
kurttomlinson opened this issue · 6 comments
kurttomlinson commented
When I run crawlDHT.js, it listens and gets ready, but it never proceeds to the next step. The output I get is below:
dht@dht-VirtualBox:~$ node /home/dht/dhtbay/crawlDHT.js
[Sun, 24 Jul 2016 01:10:32 GMT] { '0': 'now listening' }
[Sun, 24 Jul 2016 01:10:32 GMT] { '0': { address: '0.0.0.0', family: 'IPv4', port: 6881 } }
[Sun, 24 Jul 2016 01:10:37 GMT] { '0': 'now ready' }
duramato commented
You need to wait, it can take some time to connect to nodes and peers from my personal experience.
kurttomlinson commented
I've waited quite a while, at least ten minutes. How long should i expect to wait?
FlyersWeb commented
Maybe you need to allow 6881/udp port in your firewall
kurttomlinson commented
Yup, that was the problem. I needed to forward port 6881 on my router. Thanks!
FlyersWeb commented
Great, have fun, let me know if you need any more help
albabosh commented
I first started seeding something from aria2c for an hour or two to announce my node into dht, then I started crawldht.js & it ran well