在 Windows 11 上使用(管理员)Powershell 我尝试使用ncat.exe
(版本 7.95)通过接口 192.168.200.5 在 UDP 端口 28500 上向该网络 192.168.200.x 中的设备发送消息。
我正在使用命令
ncat.exe -u 192.168.200.5 28600
然后我输入我想发送的文字,比如
EXAMPLE
然后我得到错误
Ncat: An existing connection was forcibly closed by the remote host. .
似乎没有其他服务使用该端口在 Windows 上运行,并且ncat.exe
应该允许通过防火墙(公共和私有)。
我还能尝试什么来修复此错误,因为似乎ncat.exe
没有发送任何内容。也许有更好的工具?