Problem:
The following error occurs when using other servers on the LAN to access svn.
Error: Can't connect to host '192.168.1.103': 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
Cause:
Firewall configuration problem.
(Recommended tutorial: centos tutorial)
Solution:
Modify the firewall rules, or use the following command to turn off the firewall service.
service iptables stop
Configure automatic startup:
Put svnserve -d -r /opt/svn/repos on the last line of /etc/rc.d/rc.local.
Recommended related video tutorials: linux video tutorial
The above is the detailed content of How to solve the problem that svn cannot be accessed under centos. For more information, please follow other related articles on the PHP Chinese website!