我正在使用VisualSVN Server 3.0.1和TortoiseSVN 1.8。使用VisualSVN服务器管理器,我在C:\驱动器中创建了一个名为“彩票”的存储库。我在机器上启动了所有VisualSVN Server的服务。我检查了VisualSVN Server的HTTP服务正在运行并且VDFS服务正在运行。我还使用VisualSVN服务器管理器让两个用户harry和密码为1234。我做了一个目录C:\ workdirs。在那里,我的用户有两个文件夹哈利和莎莉。当我导航到哈利的文件夹并运行我的svn命令时,出现错误。请帮我解决它。无法连接到本地svn服务器
C:\workdirs\harry>svn co --username harry --password 1234 https://james/svn/lottery/
该URL是从VisualSVN服务器管理器完全粘贴的副本。我得到的错误 -
C:\workdirs\harry>svn co --username harry --password 1234 https://james/svn/lottery/
svn: E731001: Unable to connect to a repository at URL 'https://james/svn/lottery'
svn: E731001: No such host is known.
解决方案我尝试 -
Tortoise won't connect to subversion server
显然,你不能直接进入你需要SVN文件夹到 包括库文件名在路径中。
所以,我试图用的URL与端口和回购的文件夹名称,看它是否有助于svn co --username harry --password 1234 https://james:443/svn/lottery/
顺便说一句,詹姆斯是我在视觉SVN服务器属性看到SVN服务器的名称。
产生的误差 -
svn: E731004: Unable to connect to a repository at URL
'https://james/svn/lottery'
svn: E731004: The requested name is valid, but no data
of the requested type was found.
接下来,我试图使用http来代替https,并得到了同样的错误。
接下来,我尝试使用url这样https://localhost/james:443/svn/lottery/
我得到了错误 -
Error validating server certificate for 'https://localhost:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: steam
- Valid: from sometime in 2014 GMT until sometime in 2020 GMT
- Issuer:
- Fingerprint: 6a:7b:8c:....
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: E175013: Unable to connect to a repository at URL
'https://localhost/james:443/svn/lottery'
svn: E175013: Access to '/james:443/svn/lottery' forbidden
最后,我想用我的电脑的IP地址作为我给的链接中提到。我不知道IP是什么,但我尝试使用localhost
,而不是它工作!
C:\workdirs\harry>svn co --username
harry --password 1234 https://localhost/svn/lottery/
Checked out revision 0.
我只是不明白!所有这些人在没有提供理由的情况下下调了什么?我需要让问题更清楚吗?谷歌更多?删除问题?什么 ? – Steam