From a5adb399f2dbbd2b47174b12c4d58576e65c92cb Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 16 Nov 2014 21:21:13 -0600 Subject: [PATCH] Change cmd/torrent default ports --- cmd/torrent/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index 20a7f6e3..3140237c 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -19,9 +19,9 @@ import ( var ( downloadDir = flag.String("downloadDir", "", "directory to store download torrent data") testPeer = flag.String("testPeer", "", "bootstrap peer address") - httpAddr = flag.String("httpAddr", "localhost:0", "http serve address") + httpAddr = flag.String("httpAddr", "localhost:6061", "http serve address") // TODO: Check the default torrent listen port. - listenAddr = flag.String("listenAddr", ":6882", "incoming connection address") + listenAddr = flag.String("listenAddr", ":50007", "incoming connection address") disableTrackers = flag.Bool("disableTrackers", false, "disable trackers") seed = flag.Bool("seed", false, "seed after downloading") ) -- 2.48.1