svn: Can't connect to host Solution for "svn: Can't connect to host '*.*.*.*': Because the connecting party did not reply or connect properly after a period of time"

About "svn: Can't connect to host '*.*.*.*': because the connected party did not reply or connect properly after a period of time"

 

Alibaba Cloud server environment (PHP+Nginx+MySQL)

[Cause 1] svnserve.conf is not written well, of course, you need to back up a copy first:

cp svnserve.conf svnserve.conf.bak

open this file

vi svnserve.conf

Clear all the code inside, copy and paste the following code:

[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz

Note: There must be no spaces in front of each line of code, and each line is all at the top.

[Cause 2] TortoiseSVN cache problem

Right-click the local copy, TortoiseSVN -> Settings -> Saved Data, click each "Clear" button, clear the local cache, click "OK", and then "checkout" again.

[Cause 3] The firewall port 3690 is not open to the outside world, so we need to modify the configuration file:

vi /etc/sysconfig/iptables

Copy the following code in the middle (skip if there is one):

-A INPUT -p tcp -m state --state NEW -m tcp --dport 3690 -j ACCEPT

restart the firewall

service iptables restart

Alibaba Cloud server environment (PHP+Nginx+MySQL)

[Cause 1] svnserve.conf is not written well, of course, you need to back up a copy first:

cp svnserve.conf svnserve.conf.bak

open this file

vi svnserve.conf

Clear all the code inside, copy and paste the following code:

[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz

Note: There must be no spaces in front of each line of code, and each line is all at the top.

[Cause 2] TortoiseSVN cache problem

Right-click the local copy, TortoiseSVN -> Settings -> Saved Data, click each "Clear" button, clear the local cache, click "OK", and then "checkout" again.

[Cause 3] The firewall port 3690 is not open to the outside world, so we need to modify the configuration file:

vi /etc/sysconfig/iptables

Copy the following code in the middle (skip if there is one):

-A INPUT -p tcp -m state --state NEW -m tcp --dport 3690 -j ACCEPT

restart the firewall

service iptables restart

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325159635&siteId=291194637