Netcat xxx.xxx.x.xx:反向主机查找失败:h_errno 11004:NO_DATA

问题描述 投票:0回答:1

我在 Windows 10 上使用 netcat 从数据采集模块获取数据流。我使用的命令是:

nc -u -l -vv -p 5168 > log.txt

但是,看着冗长的内容,我得到:

listening on [any] 5168 ...
xxx.xxx.x.xx: inverse host lookup failed: h_errno 11004: NO_DATA
connect to [xxx.xxx.x.xxx] from (UNKNOWN) [xxx.xxx.x.xx] 5168: NO_DATA

在 log.txt 文件中,我得到了 y 的分音符号,这是我没有预料到的:

log.txt

如何解决这个问题?我知道这个问题不是来自数据采集模块,因为我已经看到其他人使用相同模块通过 netcat 以十六进制格式获取数据的结果。我也用 ncat 尝试过,但仍然得到相同的结果。请帮忙。提前谢谢你。

netcat data-stream
1个回答
0
投票

你使用像 openvpn 这样的 VPN 吗? 尝试:

nc -lvp PORT -s ipOfYourVpnInterface

诚挚的

© www.soinside.com 2019 - 2024. All rights reserved.