Connecting to SVN on a remote Windows server using Tortoise SVN?

社会主义新天地 提交于 2019-12-03 13:40:27

问题


I installed svn on my remote Windows 2008 server, the ip is 41.139.540.60 for example. Now, using Tortoise SVN on the server itself works using svn://localhost/. I can open the repo browser and so on. Now, how do I connect to that svn from my local PC? I tried svn://41.139.540.60, but it did not work, the message I got was the the server did not respond and thus connection failed. I cant ping the IP, so its a server issue I guess.

What else is needed to make it run?

Thanks :)

The guide I used was: http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html


回答1:


svn:// protocol runs on TCP port 3690, so make sure your remote Windows Server 2008 allows clients to connect to this port.

An other option is to install Apache + mod_svn on your Windows 2008 server and connect to your repositories with https:// rather than svn://

Here is a useful guide for installing Apache and mod_svn

As you already installed SVN itself, you can start from section 2.3




回答2:


You may want to make sure that your Windows 2008 server has the proper firewall settings. Check the following ports:

svn:// port 3980

http:// port 80

ssh+svn:// port 22

depending on your configured protocol(s) for accessing the svn server, you should adapt the firewall ports on the Windows 2008.




回答3:


I think that guide only works for local users...

try this out: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html

or using svn+ssh http://csoft.net/docs/svn.html.en



来源:https://stackoverflow.com/questions/8711571/connecting-to-svn-on-a-remote-windows-server-using-tortoise-svn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!