CentOS failed to build SVN, unable to connect host solution

Source: Internet
Author: User

The previous article set up the SVN service, but also started, but is not even on the outside. Through the Telnet 121.40.77.89 3690 command test also found that is a failure, so it may be firewall screen, refer to the article to modify firewall rules, found or not, and got a good freshman back finally good, record here:
1. Set Firewall Open port:
Vi/etc/sysconfig/iptables
Then add one sentence:
-A input-m state–state new-m tcp-p tcp–dport 3690-j ACCEPT
After saving restart Iptables:service iptables restart
Firewall settings can be verified through iptables-l.
But these steps may still not work, do not know whether or not to take effect.
2, run in sequence:
/sbin/iptables-i input-p tcp–dport 3690-j ACCEPT
/etc/rc.d/init.d/iptables Save
/etc/rc.d/init.d/iptables restart
Last pass:/etc/init.d/iptables status to see if the port is open.

At last run outside:

Yanzi-macbookpro: ~ yanzi$ Telnet121.Xx.Xx. the 3690Trying121.Xx.Xx. the...Connected to 121.Xx.Xx. the.Escape character is' ^] '.(Success (2 2() (Edit-pipelineSVNDIFF1 absent-entriesCommit-revpropsDepthLog-revpropsPartial-replay) ) )

OK, problem solved!

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

CentOS failed to build SVN, unable to connect host solution

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.