I am trying to connect Subversion client on a Red Hat machine to a Windows Server 2012 machine with VisualSVN Server running. My goal is to run an
svn export via a shell script on the linux machine to retrieve code for the development server.
First I tried to connect using the default https Repo connection string..
svn export --username user --password pass https://OPSSVN1/svn/volunteers/ ./svn-export
the linux box returns...
svn: Server sent unexpected return value (501 Not Implemented) in response to OPTIONS request for 'https://OPSSVN1/volunteers'
So I went and installed svnserve.exe as a service listening on to 3960 and changed the script to..
svn export --username user --password pass svn://OPSSVN1:3960/volunteers/ ./svn-export
I get the following message
svn: Can't connect to host 'OPSSVN1': Connection refused
Now if I use either connection string from a window's desktop it works fine.
Other facts known that might help...
- The Windows server has the firewall opened up for the port.
- The linux box can ping the machine
- the linux box can Telnet into port 443 on the windows box
- The linux box cannot telnet into port 3960 on the windows box
- Linux SVN version: svn, version 1.6.11 (r934486)
- VisualSVN Version 2.7.2
The SVN service I setup on windows was done with the following command.
cmd /c sc create subversion binpath="c:\svnserve\svnserve.exe --service -r E:\Repositories --listen-port 3960"
With the folder svnserve being a symbolic link to the visualsvn bin folder thats in the program files x86 directory.
Any ideas on how I can get this linux box to export the code from VisualSVN?