Solve the Problem of svn server Can't connect to host '*.*.*.*':

Source: Internet
Author: User
Tags svn client

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]

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.