FlyersWeb / dhtbay

A DHT crawler and torrent indexer
The Unlicense
110 stars 18 forks source link

crawlDHT.js never announces #9

Closed kurttomlinson closed 8 years ago

kurttomlinson commented 8 years ago

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 8 years ago

You need to wait, it can take some time to connect to nodes and peers from my personal experience.

kurttomlinson commented 8 years ago

I've waited quite a while, at least ten minutes. How long should i expect to wait?

FlyersWeb commented 8 years ago

Maybe you need to allow 6881/udp port in your firewall

kurttomlinson commented 8 years ago

Yup, that was the problem. I needed to forward port 6881 on my router. Thanks!

FlyersWeb commented 8 years ago

Great, have fun, let me know if you need any more help

albabosh commented 8 years ago

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