1
當我使用hg serve
我得到了這個問題,它說, listening at http://localhost6.localdomain6:8000/ (bound to *:8000)
汞發球勢必8000成功,但不能訪問和ping通
我假定服務器已經運行。
但是,當我想訪問通過Web瀏覽器的服務器,它說, 「無法連接」
我無法ping URL,太。
我在Ubuntu 11.04 64位上使用Mercurial。 (最新水銀)
這是我的iptables -L
顯示:
[email protected]:~$ sudo iptables -L [sudo] password for kiddo: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp dpt:domain ACCEPT tcp -- anywhere anywhere tcp dpt:domain ACCEPT udp -- anywhere anywhere udp dpt:bootps ACCEPT tcp -- anywhere anywhere tcp dpt:bootps Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED ACCEPT all -- 192.168.122.0/24 anywhere ACCEPT all -- anywhere anywhere REJECT all -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-port-unreachable Chain OUTPUT (policy ACCEPT) target prot opt source destination
那麼,你不能ping一個URL _anyway_,只能是一個主機。你嘗試過'hg serve -a 127.0.0.1'嗎? – Helgi
有沒有防火牆('iptables -L')? – Rudi
這個我smy iptables -L顯示: – Kiddo