Solve the problem that the SVN server in CentOS fails to connect the client to the SVN Server

Source: Internet
Author: User

Solve the problem that the SVN server in CentOS fails to connect the client to the SVN Server

I won't talk about installing the SVN service in centos...

Svnserve -- version [view version]

First, check netstat-tnlp to see if the svn service is enabled on port 3690.

Killall 19335 (svn pid Number returned by the preceding command)

Create a repository:

Mkdir-p/home/svnserve/app/project1

Svnadmin create/home/svnserve/app/project1

Svnserve-d (Independent Port running)-r (warehouse address) warehouse address

Svnserve-d-r/home/svnserve/app/project1 // start the warehouse service


OK! Repository created

Next, create a directory on windows.

For example:

Create --> E:/test --> enter this directory ---> right-click checkout

A dialog box is displayed.

Linux Server IP address, for example, 192.168.181.139

URL: svn: // 192.168.181.139

However, I am prompted a connection failure error, which is due to firewall reasons. The solution is as follows:

Delete invalid firewall configurations:

/Sbin/iptables-a input-m state -- state NEW-m tcp-p tcp -- dport 3690-j ACCEPT

Set the firewall as follows:

/Sbin/iptables-I INPUT-p tcp -- dport 3690-j ACCEPT


/Etc/rc. d/init. d/iptables save [save]

OK! Now we can find that it can be connected.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.