这些端口是什么意思?为什么要开放它们?

这些端口是什么意思?为什么要开放它们?

在本地主机上运行 nmap,我得到:

https://i.stack.imgur.com/ysIuq.png

C:\Users\user>nmap localhost
Starting Nmap 7.80 ( https://nmap.org ) at 2021-10-24 07:26 India Standard Time
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00038s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 997 closed ports
PORT     STATE SERVICE
135/tcp  open  msrpc
445/tcp  open  microsoft-ds
2179/tcp open  vmrdp

端口 134、445 和 2179 已打开。这是一个漏洞吗?是否需要关闭它们?我应该怎么做?进行 Google 搜索后,我得到:

msrpc is "Microsoft Remote Procedure Call Service"
vmrdp is used to connect to virtual machines
445 is used by SMB (Server Message Block). SMB is a network protocol used mainly in Windows networks for sharing ressources (e.g. files or printers) over a network. It can also be used to remotely execute commands.

如果我记得正确的话,我偶尔会使用虚拟机,但我不明白为什么在我目前不使用它时它会打开。另外,我不明白为什么其他的也打开了?有人能给我解释一下吗?

相关内容