Cant connect to host *.*.*.*: 由于连接方在一段时间后没有正确

SVN服务器信息:

操作系统:CentOS 6.5 SVN版本:

svn –versionsvn, version 1.8.11 (r1643975) compiled Apr 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发生此错误环境:

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

TortoiseSVN , 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、防火墙拦截; 我遇到的就是这个问题。

解决方法:

添加入站规则:

[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:应用防火墙规则:[确定]

,可笑的小心谨慎,还有从来就不会安全的安全感。

Cant connect to host *.*.*.*: 由于连接方在一段时间后没有正确

相关文章:

你感兴趣的文章:

标签云: