由于我重新安装了安装了svn的Ubuntu服务器,因此我无法从笔记本电脑访问它。使用svnX,当我尝试浏览我的剧目时,我收到错误:
svn: Can't connect to host 'xxx.xxx': Address already in use
当我尝试更新任何工作副本时,我得到一个不同的错误:
svn: Can't connect to host 'xxx.xxx': Operation timed out
整个历史就是这样:
这是我的iptables现在我重新启动并添加了SVN,这有什么错误吗?
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:svn
ACCEPT icmp -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere state NEW,RELATED,ESTABLISHED
答案 0 :(得分:3)
我的问题是我打字了:
iptables -A INPUT -p tcp -i eht0 --dport 3690 -j ACCEPT
而不是
iptables -A INPUT -p tcp -i eth0 --dport 3690 -j ACCEPT
看到 eht 而不是 eth ? :(
很抱歉给您带来不便,但如果这可能会有所帮助,我很高兴成为这个错误的傻瓜!