Home  >  Article  >  Operation and Maintenance  >  How to solve the problem that svn cannot be accessed under centos

How to solve the problem that svn cannot be accessed under centos

王林
王林Original
2020-03-27 11:30:282886browse

How to solve the problem that svn cannot be accessed under centos

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn