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

王林
Release: 2020-03-27 11:30:28
Original
2796 people have browsed it

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': 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!