首页 > 代码库 > 安装VisualSVN Server 报错The specified TCP port is occupied

安装VisualSVN Server 报错The specified TCP port is occupied

安装过程中报错,如下图所示。

The specified TCP port is occupied by another service.Please stop that service or use another port.(指定tcp端口已被占用,请停止那个服务或是换一个端口使用)

技术分享

  开始看到这个错的时候,关于建议——请停止那个服务或是换一个端口使用,脑袋里只有停止服务,而忽略了换一个端口使用,于是,便去查是哪个服务使用了80端口,并决定停止那个服务——查看端口占用情况命令:netstat -oan

技术分享

  查看PID为4的家伙是谁命令:tasklist /FI "PID eq 4"

技术分享

  度娘给出的解决方法:修改注册表

技术分享技术分享

  然而我按照以上方法去做并没有起作用,因为System进程绝对不能结束,它是系统运行最基本的依靠,度娘是这样说的。于是才意识到应该去换端口,换成了http协议中的81端口,之后便安装成功了~

其实第一幅图下面的Server Port 还有第二个选择,不要选默认的我的是8082  选择这个之后就安装成功了。

安装VisualSVN Server 报错The specified TCP port is occupied