Unable to connect TeamCity to SVN

Hello,

I have recently installed on my Windows 10 Enterprise laptop:

- TeamCity Professional 2018.2.1

- TortoiseSVN 1.11.0.28416

I created a SVN repository at following location

file:///C:/DS/REPO

I am able to browse the repository using Tortoise browser,  I can also see contents using 'svn ls file:///C:/DS/REPO' from a command prompt.

However the problem is when i attempt to connect / create new project on TeamCity and connect to this repository it constantly comes back with E210003: connection refused by server error.

The Repository URL i have entered into TeamCity is as follows:

svn://PCNAME/C:/DS/REPO

Looking on the web I have seen some people mentioned issues with Ports, i have fully enabled Ports 3690 and 22 with no success.

I would really appreciate some help on this one.

Thanks

 

0
1 comment

Hi Charles,

 

Using the same file:///C:/DS/REPO as the repository URL should work just fine. If ports are open and the user has permissions, it should work.

 

This said, please keep into account that this configuration is shared by both the server and the build agent, which are not necessarily installed on the same machine. Thus, referencing a local path is discouraged, as it might be that the same path is not available for both machines, which would lead to issues trying to check out the code.

0

Please sign in to leave a comment.