美文网首页
svn: E000113: Unable to connect

svn: E000113: Unable to connect

作者: 轴儿 | 来源:发表于2018-01-02 22:08 被阅读0次

svn: E000113: Unable to connect to arepository at URL 'svn://IP/XXX'

无法连接主机“IP”: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

一般“无法连接主机”主要起因可归为如下几个问题:

1、网络原因,主机不可达;

2、服务没有启动;

3、防火墙拦截;

可以在其他机器上ping 通svnserve 主机ip ,所以网络可达,排除问题1

通过 ps –aux | grep svn 可以明显看到svnserve进程存在,所以 svnserve服务起来了,排除问题2

那就是防火墙的问题了。

解决办法:

设置防火墙:

$firewall-cmd –permanent –zone=public –add-port=3690/tcp

$firewall-cmd –reload

附:

查看防火墙状态

systemctl status firewalld.service

启动防火墙

systemctl start firewalld.service

关闭防火墙

systemctl stop firewalld.service

重新启动防火墙

systemctl restart firewalld.service

相关文章

网友评论

      本文标题:svn: E000113: Unable to connect

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