Netstat (Windows 10) 将某些服务显示为“正在监听”,但是哪个服务正在该端口上监听?
任何见解都非常感激。
我怀疑我的家庭网络可能被恶意行为者入侵和使用。
我是网络菜鸟,所以我想知道发送的邻居请求 > 2000 是否正常?
我通过运行命令获得了这些统计信息netstat -s
:
IPv4 Statistics
Packets Received = 44873
Received Header Errors = 0
Received Address Errors = 0
Datagrams Forwarded = 0
Unknown Protocols Received = 1
Received Packets Discarded = 3479
Received Packets Delivered = 62550
Output Requests = 48541
Routing Discards = 0
Discarded Output Packets = 389
Output Packet No Route = 0
Reassembly Required = 0
Reassembly Successful = 0
Reassembly Failures = 0
Datagrams Successfully Fragmented = 0
Datagrams Failing Fragmentation = 0
Fragments Created = 0
IPv6 Statistics
Packets Received = 1991
Received Header Errors = 0
Received Address Errors = 0
Datagrams Forwarded = 0
Unknown Protocols Received = 0
Received Packets Discarded = 1229
Received Packets Delivered = 34570
Output Requests = 36382
Routing Discards = 0
Discarded Output Packets = 1979
Output Packet No Route = 0
Reassembly Required = 0
Reassembly Successful = 0
Reassembly Failures = 0
Datagrams Successfully Fragmented = 0
Datagrams Failing Fragmentation = 0
Fragments Created = 0
ICMPv4 Statistics
Received Sent
Messages 509 444
Errors 0 0
Destination Unreachable 462 416
Time Exceeded 19 0
Parameter Problems 0 0
Source Quenches 0 0
Redirects 0 0
Echo Replies 16 12
Echos 12 16
Timestamps 0 0
Timestamp Replies 0 0
Address Masks 0 0
Address Mask Replies 0 0
Router Solicitations 0 0
Router Advertisements 0 0
ICMPv6 Statistics
Received Sent
Messages 947 3080
Errors 0 0
Destination Unreachable 943 943
Packet Too Big 0 0
Time Exceeded 0 0
Parameter Problems 0 0
Echos 0 0
Echo Replies 0 0
MLD Queries 0 0
MLD Reports 0 0
MLD Dones 0 0
Router Solicitations 0 6
Router Advertisements 0 0
Neighbor Solicitations 2 2127
Neighbor Advertisements 2 4
Redirects 0 0
Router Renumberings 0 0
TCP Statistics for IPv4
Active Opens = 1454
Passive Opens = 543
Failed Connection Attempts = 132
Reset Connections = 219
Current Connections = 36
Segments Received = 38050
Segments Sent = 34308
Segments Retransmitted = 743
TCP Statistics for IPv6
Active Opens = 85
Passive Opens = 5
Failed Connection Attempts = 79
Reset Connections = 2
Current Connections = 0
Segments Received = 914
Segments Sent = 667
Segments Retransmitted = 251
UDP Statistics for IPv4
Datagrams Received = 26358
No Ports = 772
Receive Errors = 2818
Datagrams Sent = 11585
UDP Statistics for IPv6
Datagrams Received = 34871
No Ports = 234
Receive Errors = 1104
Datagrams Sent = 32306
正如你所看到的,Neighbor Solicitation 是唯一让我觉得不正常的东西,或者上面或下面是否还有其他任何可能不正常的东西?
ICMPv6 Statistics
Received Sent
Messages 947 3080
Errors 0 0
Destination Unreachable 943 943
Packet Too Big 0 0
Time Exceeded 0 0
Parameter Problems 0 0
Echos 0 0
Echo Replies 0 0
MLD Queries 0 0
MLD Reports 0 0
MLD Dones 0 0
Router Solicitations 0 6
Router Advertisements 0 0
Neighbor Solicitations 2 2127
Neighbor Advertisements 2 4
Redirects 0 0
Router Renumberings 0 0
谢谢!
我是网络初学者,我正在检查 netstat 命令。
所以我打开了几个网站,比如 en.wikipedia.org
然后我打开了一个管理员 CMD 并输入了 netstat 我在 netstat 中看不到这个连接。我尝试添加开关 -n(显示 IP 地址)和 -f(显示 fqdn),但我仍然找不到此连接。我尝试刷新网站无济于事。我尝试通过 CNAME (dyna.wikimedia.org) 搜索无济于事
为什么没有显示这些连接?非常感谢任何帮助
视窗 10 20H2
我正在尝试实现以下操作,但很难让它按预期工作。尝试使用 watch 命令,但输出只是一团糟。我发现了以下内容,但无法满足我的需求:
watch 2 "netstat -a | grep 20427 | grep ESTABLISHED | wc -l"
我想运行以下命令并每两秒输出到包含以下两列的文件。
netstat -a | grep 20427 | grep ESTABLISHED | wc- l
DATE_TIME | NUMBER_OF_CONNECTIONS
Fri Nov 6 14:57:37 | 5
Fri Nov 6 14:57:39 | 10
Fri Nov 6 14:57:41 | 5
Fri Nov 6 14:57:43 | 2
感谢您提供任何帮助。小心并确保安全。
我正在尝试使用端口 5601 实现我的远程服务。但不幸的是我无法打开该网站。
这是我试图找出它不起作用的原因:
我登录远程服务器并尝试“telnet localhost 5601”和“telnet 192.168.xx 5601”,它工作正常。
但是“telnet 114.116.xx 5601”失败了。
我使用的远程服务器是云服务器,我可以使用 ssh 访问它。而且我还用端口(10450、10460 ...)检查了我的一些 docker 服务,结果是可以使用外部 ip 访问它们。所以也许问题出在 5601 服务上。然后我用监听主机“0.0.0.0:2700”写了一个小的 helloworld web 程序来找出答案。事实证明它也无法从外部 ip 访问。
那么我的服务或网络有问题吗?如果有,我该如何解决?非常感谢。
os: centos7
防火墙: off
network: ok
tcp 0 0 0.0.0.0:2700 0.0.0.0:* LISTEN 6438/python
tcp 0 0 0.0.0.0:5601 0.0.0.0:* LISTEN 6121/./bin/../node/
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1403/sshd
tcp6 0 0 :::443 :::* LISTEN 18807/docker-pro
tcp6 0 0 :::10460 :::* LISTEN 3966/docker-proxy-c
tcp6 0 0 :::10430 :::* LISTEN 4552/docker-proxy-c
telnet 114.116.X.X 10450
Trying 114.116.X.X...
Connected to 114.116.X.X.
Escape character is '^]'.
telnet 114.116.X.X 5601
Trying 114.116.X.X...
只是不适用于 5601 和 2700。