I have a RedHat 6 enterprise server that I have installed SVN 1.6 on. This machine is not on a network and has never been on a network. Eventually, it will be added to a network but not right now.
I am running svnserve to provide access to the repository.
svnserve is started as,
svnserve -d
When I run the command, svn co svn://localhost/<project name>
I get the error message, "svn: E000111" Can't connect to host 'localhost': connection refused.
netstat confirms that svn is listening on 0.0.0.0:3690.
I have read it pays to be more explicit with svnserve so I started it as follows,
svnserve -d --listen-port 3690 --listen-host 0.0.0.0 (also tried 127.0.0.1)
I get the same connection refused error message when trying to checkout.
Next I tried checking out directly with the ip address rather than a hostname,
svn co svn://127.0.0.1/<project>
The error message I get back is nonsensical, "svn: E670009: unknown hostname '127.0.0.1'".
At this point I am stumped. I can't seem to perform a checkout using the "svn://" protocol. I have already disabled the ipv4 and ipv6 firewalls.
Any thoughts?
When you have a network error, you can use the
telnet
command to see if you can connect to that port. You should see a response like this:It could be that your network was setup to block port 3690. Check your software firewall and how SEL is setup.
Not quite an answer, but you could try checking out over ssh (assuming the server is running an appropriate server).
This would be something like:
svn co svn://localhost:3690/project name
you should add port number in the svn path.Try commands above.