Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Can't connect to host

Tags:

svn

We have a SVN repository setup on a remote host server. We have a brand new Dev server which eventually I will be setting up our repository on there, but for now I am trying to export a project onto the dev server from SVN. When I try to do it, I get svn: Can't connect to host 'website.com': Connection timed out.

I can connect fine from any other server so I am assuming it must be something on the dev server, I am just not sure what setting might be blocking this. I can ping the server and that comes back with results, I thought maybe since it was a local network server, there might of been something blocking access to the external web.

I'm just looking for a few ideas as to what it might be.

like image 813
dan.codes Avatar asked Dec 12 '22 21:12

dan.codes


1 Answers

I just solve it by the commands below: when starting a svn service, add the part "--listen-host 0.0.0.0" to your command, for example:

svnserve -d --listen-port 9803 --listen-host 0.0.0.0 -r /somewhere/somewhere

This is because unless explicitly stated, svnserve will listen for IPv6 connections where the IPv6 protocol is supported, which is true of Windows Vista, 7 and Server 2008, Maybe FreeBSD too.

My server has the FreeBSD os, I met with this problem this morning and solved it just now.

you can refer to this page: further info

like image 146
Kaldr Avatar answered Dec 20 '22 11:12

Kaldr