1. 程式人生 > >Can't connect to host ' ' 由於連線方在一段時間後沒有正確答覆或連線的主機沒有響應

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

這裡寫圖片描述