[E] tnsk_run src/hev-tnsk.c:103 Start TCP keep-alive service failed.
imzlh opened this issue · 1 comments
imzlh commented
不知是不是我的问题,我无法启动natmap
只有反复提示
izC:system:# natmap -s stunserver.stunprotocol.org -h qq.com -b 2000 -t 127.0.0.1 -p 80 -6 -k 60 -e /lib/natupdate
[E] get_addr src/hev-sock.c:40
[E] hev_sock_client_tcp src/hev-sock.c:125
[E] tnsk_run src/hev-tnsk.c:103 Start TCP keep-alive service failed.
看了一下好像是keepalive server的getaddr步骤,试着ping了一下
# ping qq.com
PING qq.com (112.53.26.232) 56(84) bytes of data.
64 bytes from 112.53.26.232 (112.53.26.232): icmp_seq=1 ttl=54 time=30.0 ms
64 bytes from 112.53.26.232 (112.53.26.232): icmp_seq=2 ttl=54 time=30.3 ms
^C
--- qq.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 29.989/30.127/30.266/0.138 ms
理论上完全没有getaddr的问题
请帮助我,谢谢
imzlh commented
好吧,我找到了为什么
-6
表示IPV6,可惜的是qq.com没有IPV6地址
写错了,应该是-4
才对的...