VisualSVN Server 占用了443端口,VisualSVN Server 使用8443端口进行通信

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_15071263/article/details/83577606

VisualSVN Server 占用了443端口,VisualSVN Server 使用8443端口进行通信


1、为什么要使用 8443 端口进行通信

默认情况下,VisualSVN Server 使用443 端口进行https 通信,但是如果Nginx 要使用https 转发时,会出现端口被SVN 占用的情况,所以修改 SVN 的端口为8443或者其它端口,本文使用8443端口

2、如何修改端口

1、打开VisualSVN Server Manager

在这里插入图片描述

右键VisualSVN Server,选择Properties

2、打开设置,并选择网络选项卡

下拉选择端口为8443,如果你不想使用8443端口,则可以直接点击框,输入你想要使用的端口
然后点击Apply,点击OK、SVN 会自动重启

在这里插入图片描述

3、客户端重定向

由于服务器端修改了端口,因此客户端需要重定向仓库地址
假设原地址为 https://ip/svn/xxx
则修改地址为 https://ip/svn:8443/xxx
不需要修改https协议到http协议

猜你喜欢

转载自blog.csdn.net/qq_15071263/article/details/83577606