如何远程访问subversion服务器 [英] how to access subversion server remotely
问题描述
我昨天刚刚在家里的计算机上安装了 VisualSVN 服务器,我可以在本地主机上正常访问我的存储库,但是当我尝试远程访问它时,它无法连接.我应该配置其他东西还是不可能?
I just installed VisualSVN server yesterday at my home computer and I can access my repositories ok at localhost but when I try to access it remotely, it won't connect. Am I supposed to configure something else or is it not possible?
我使用 https://servername/svn 作为浏览器中的 URL,而家用计算机在后面路由器.仅供个人使用.
I'm using https://servername/svn as the URL in my browser and the home computer is behind a router. This is only for personal use.
谢谢
推荐答案
您确定在不在家时可以对 servername
进行名称解析吗?对于远程访问工作,您至少需要:
Are you sure that you have working name resolution for servername
when not at home? For remote access to work you will at least require:
- 您服务器的公共 IP 号码,任何 RFC1918 号码(例如 192.168.X.X)都无法从外部访问.
- 名称解析;通过正式注册的 DNS 名称或主机文件.
- 如果您的路由器中有防火墙,它必须允许 https (TCP/443) 流量.
- 如果您的服务器位于专用网络上,并且您想通过路由器的官方 IP 访问它,则需要端口转发.
这篇关于如何远程访问subversion服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!