Can't connect to host '*.*.*.*': 由于连接方在一段时间后没有正确答复或连接的主机没有响应,连接尝试失败。...

SVN服务器信息:


操作系统:CentOS 6.5
SVN版本:

svn --version
svn, version 1.8.11 (r1643975)
   compiled Apr 27 2015, 03:11:15 on x86_64-unknown-linux-gnu

Copyright (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 1.6.7, Build 18415 - 64 Bit , 2010/01/22 17:55:06
Subversion 1.6.9, 
apr 1.3.8
apr-utils 1.3.9
neon 0.29.3
OpenSSL 0.9.8k 25 Mar 2009
zlib 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 save
iptables:将防火墙规则保存到 /etc/sysconfig/iptables:     [确定]
[root@localhost svn]# service iptables restart
iptables:将链设置为政策 ACCEPT:filter mangle nat         [确定]
iptables:清除防火墙规则:                                 [确定]
iptables:正在卸载模块:                                   [确定]
iptables:应用防火墙规则:                                 [确定]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值