【发布时间】:2016-05-02 17:59:23
【问题描述】:
我有一个我正在为一个项目设置的 svn 服务器。我已经安装了 SVN,使用新的 SVN 用户启动并运行它,在 passwrd 文件中创建了用户/密码组合,并使其在 svnserve.conf 中可用。我在我的 SVN 用户文件夹和“svnserve -d -r /home/svn/repositories”中创建了一个存储库文件夹。我在存储库中为我当前的项目创建了一个文件夹...
所以我有
/home/svn/repositories/my_new_project
我在我的服务器上运行 netstat -lntp
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
24405/svnserve
...etc...
现在,跳出服务器,跳到我的客户端机器上,检查服务器是否已启动,我
ping my_network_server_name_here
使用 32 字节数据 ping my_network_server_name_here [1.2.3.4]:
Reply from [1.2.3.4]: bytes=32 time=1ms TTL=62
Reply from [1.2.3.4]: bytes=32 time=1ms TTL=62
Reply from [1.2.3.4]: bytes=32 time=2ms TTL=62
Reply from [1.2.3.4]: bytes=32 time=3ms TTL=62
而且我得到了很好的 ping 速率,所以我知道服务器是可以访问的。 我已经安装了tortoiseSVN。我右键单击要添加到存储库的文件夹,点击导入,然后将其发送到
svn://my_network_server_name_here:3690/my_new_project
我得到的回应是……
Unable to connect to a repository at URL
svn://my_network_server_name_here/my_new_project
Can't connect to host 'my_network_server_name': A connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because the connected host has failed to respond.
我的问题是……我在哪里搞砸了?
【问题讨论】:
-
Ping (ICMP-packets) 对 TCP 连接意味着 nothing。无论如何,这都是 SU 主题
-
我主要使用 ping 来检查服务器是否已启动并且没有以某种主要方式受到防火墙保护。如果您有任何建议,虽然我不知道测试 TCP 连接的良好快速测试?
标签: svn networking tortoisesvn