Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't seed multiple repos on the same machine #23

Closed
anarcat opened this issue May 31, 2015 · 2 comments
Closed

can't seed multiple repos on the same machine #23

anarcat opened this issue May 31, 2015 · 2 comments

Comments

@anarcat
Copy link

anarcat commented May 31, 2015

i have gittorrentd running in one git repo. i want to seed another:

anarcat@marcos:~$ git init test
Dépôt Git existant réinitialisé dans /home/anarcat/test/.git/
anarcat@marcos:~$ cd test
anarcat@marcos:test$ touch .git/git-daemon-export-ok
anarcat@marcos:test$ gittorrentd

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:901:11)
    at Server._listen2 (net.js:1039:14)
    at listen (net.js:1061:10)
    at Server.listen (net.js:1127:5)
    at DHT.<anonymous> (/home/anarcat/node_modules/gittorrent/gittorrentd:195:6)
    at DHT.EventEmitter.emit (events.js:117:20)
    at /home/anarcat/node_modules/gittorrent/node_modules/bittorrent-dht/client.js:799:16
    at f (/home/anarcat/node_modules/gittorrent/node_modules/bittorrent-dht/node_modules/once/once.js:17:25)
    at onResponse (/home/anarcat/node_modules/gittorrent/node_modules/bittorrent-dht/client.js:987:7)
    at onResponse (/home/anarcat/node_modules/gittorrent/node_modules/bittorrent-dht/client.js:1188:21)

boom.

@cjb
Copy link
Owner

cjb commented May 31, 2015

The way to do this is to run gittorrentd once, from a directory that is the parent of both repos.

@anarcat
Copy link
Author

anarcat commented May 31, 2015

i see, thanks!

@anarcat anarcat closed this as completed May 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants