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