Connecting to SVN on a remote Windows server using

2020-05-28 19:24发布

问题:

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



回答4:

Check the video once

config SVN server on localhost

Check the following ports:

svn:// port 3980
http:// port 80
ssh+svn:// port 22