Solve the Problem of svn server Can't connect to host '*.*.*.*':
SVN server information:
Operating System: CentOS 6.5
SVN version:
svn --versionsvn, version 1.8.11 (r1643975) compiled Apr 27 2015, 03:11:15 on x86_64-unknown-linux-gnuCopyright (C) 2014 The Apache Software Foundation.This software consists of contributions made by many people;see the NOTICE file for more information.Subversion is open source software, see http://subversion.apache.org/The following repository access (RA) modules are available:* ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme* ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
Environment where this error occurs:
Operating System: Windows 7 SVN client:
TortoiseSVN 1.6.7, Build 18415 - 64 Bit , 2010/01/22 17:55:06Subversion 1.6.9, apr 1.3.8apr-utils 1.3.9neon 0.29.3OpenSSL 0.9.8k 25 Mar 2009zlib 1.2.3
Error scenarios:
Cause:
1. The host is inaccessible due to network reasons; 2. The service is not started; 3. Firewall interception; this is the problem I encountered.
Solution:
Add inbound rules:
[Root @ localhost svn] #/sbin/iptables-I INPUT-p tcp -- dport 3690-j ACCEPT [root @ localhost svn] #/etc/init. d/iptables saveiptables: Save the firewall rules to/etc/sysconfig/iptables: [OK] [root @ localhost svn] # service iptables restartiptables: Set the chain to the policy ACCEPT: filter mangle nat [OK] iptables: clear firewall rules: [OK] iptables: detaching module: [OK] iptables: Application Firewall Rules: [OK]