Can't connect to host ' ' 由于连接方在一段时间后没有正确答复或连接的主机没有响应

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

                       

SVN服务器信息:


操作系统:CentOS 6.5
SVN版本:

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
   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

发生此错误环境:


操作系统:Windows 7
SVN客户端:

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
   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

错误场景:


这里写图片描述

问题原因:


1、网络原因,主机不可达;
2、服务没有启动;
3、防火墙拦截;
我遇到的就是这个问题。

解决方法:


添加入站规则:

[root@localhost svn]# /sbin/iptables -I INPUT -p tcp --dport 3690 -j ACCEPT[root@localhost svn]# /etc/init.d/iptables saveiptables:将防火墙规则保存到 /etc/sysconfig/iptables:     [确定][root@localhost svn]# service iptables restartiptables:将链设置为政策 ACCEPT:filter mangle nat         [确定]iptables:清除防火墙规则:                                 [确定]iptables:正在卸载模块:                                   [确定]iptables:应用防火墙规则:                                 [确定]
   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
           

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow

这里写图片描述

猜你喜欢

转载自blog.csdn.net/hftyfdg/article/details/83725115