美文网首页
SVN出现Error running context: 由于目标

SVN出现Error running context: 由于目标

作者: ldlywt | 来源:发表于2016-09-08 19:16 被阅读4891次

搭建SVN时服务器连不上去
出现错误信息如下:

Unable to connect to a repository at URL 'https://haha/svn/aaa'
Error running context: 由于目标机器积极拒绝,无法连接。

我地址输入https://localhost 时可以进入SVN服务器,说明SVN服务是开启的,但是输入https://127.0.0.1 进入不了服务器,并且其他人输入我的ip地址也进去不了我的服务器.
折腾了很久,终于发现以前为了科学上网,我更改了我的电脑host,只要把host文件还原,重启一下电脑,问题即可解决.
附上win10的初始host代码:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost

相关文章

网友评论

      本文标题:SVN出现Error running context: 由于目标

      本文链接:https://www.haomeiwen.com/subject/noasettx.html