I have VisualSVN Server and I want to create an internet facing repository on my computer but I can’t seem to get it right. I created the repository, disabled https, and I’m trying to access the server through:
svn://xxx.xx.xxx.xxx:8080/svn/repo/trunk
or
http://xxx.xx.xxx.xxx:8080/svn/repo/trunk
but each case gives me an error.
In the case of svn protocol:
Can’t connect to host
‘xxx.xx.xxx.xxx’: No connection could
be made because the target machine
actively refused it.
And in the http case:
OPTIONS of
‘http://xxx.xx.xxx.xxx:8080/svn/repo‘:
could not connect to server
(http://xxx.xx.xxx.xxx:8080)
What am I missing?
Do I need to configure an Apache server or something like that in order to be able to make the server public?
Update: I’m running on Windows 7, windows firewall is disabled, no other firewall is installed
The easiest way to do this is to configure Apache to serve out the SVN repository. Example configuration:
LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so <Location /svn> DAV svn SVNPath /usr/local/subversion/repos <LimitExcept GET PROPFIND OPTIONS REPORT> AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/svn-auth-file Require valid-user </LimitExcept> </Location>