Skip to content

Trackerless Node JS Webtorrent: Problem when starting a fresh instance and query (add) from a second one #2734

Closed Answered by Arkean01
Arkean01 asked this question in Q&A
Discussion options

You must be logged in to vote

This issue has been solved thanks to the help of the Webtorent discord community.

In order for the (trackerless) seeding node to store it's own DHT, the dht has to be initialized with the current host ip adress:

dht: {
bootstrap: false,
host: '127.0.0.1'
}
which applies for the DHT network to remain in the same machine (for testing purpose in my case). Over a LAN, it shall be the LAN-IP and over WAN, the WAN-IP

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Arkean01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant