The easiest way to close a 137,138,139 dangerous port is: choose "start"> "Settings"> "network and dial-up connections"> "Local Connection"> "TCP/IP properties"> "advanced"> "WINS", and select "Disable NETBIOS on TCP/IT" to view the currently opened port. You can start using- run-cmd-netstat-na, you can use this command to check whether the three ports are closed and will not affect the use of the ports. This is only one method, but there are more methods.
Port 137: port 137 is mainly used for "NetBIOS Name Service" (NetBIOS Name Service ).
All ports 138 belong to UDP ports. When they transmit file information to each other in the LAN, this will take effect. Port 138 is mainly used to provide the computer name browsing function in the NetBIOS environment.
Port 138 is open for sharing. You should prohibit others from sharing your machine, so disable all these ports: click Start> Control Panel> system> hardware> Device Manager, Click Show Hidden devices under view, and double-click plug-and-play driver ", find and double-click NetBiosoverTcpip. In the "NetBiosoverTcpip properties" window, click "do not use this device (disable)" under the "General" tab )", click OK and restart.
Port 139: port 139 is provided for "NetBIOS Session Service" and is mainly used to provide Windows file and printer sharing and Samba Service in Unix.
Close Method
Start-set-network and dial-up connection-local connection-TCP/IP properties-advanced-WINS-select 'Disable NETBIOS on TCP/IT'
To view the opened port, Run "start-run-cmd-netstat-na". After you change the port, run the following command to check whether the three ports are closed, this is actually only one type, and there are more methods.