浏览代码

server: change MIN_PORT from 1024 to 1

fatedier 7 年之前
父节点
当前提交
a77c7e8625
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/ports.go

+ 1 - 1
server/ports.go

@@ -9,7 +9,7 @@ import (
 )
 
 const (
-	MinPort                    = 1025
+	MinPort                    = 1
 	MaxPort                    = 65535
 	MaxPortReservedDuration    = time.Duration(24) * time.Hour
 	CleanReservedPortsInterval = time.Hour