Current location - Quotes Website - Collection of slogans - How does win7 turn off the port number on the computer
How does win7 turn off the port number on the computer
Start → Control Panel → Administrative Tools → Local Security Policy → ip Policy on the local computer → Right-click, create ip security policy → "Activate

Delete the default response rule → Delete the editing attribute → Delete the use of the Add Wizard → Add → New ip filter list → Add: Source.

Address Any ip Address → Destination Address My IP Address → Protocol TCP Protocol → Select From Any Port → Select To This Port → OK.

Close the ports that need to be closed.

Each service corresponds to a corresponding port. For example, as we all know, the port of WWW service is 80, smtp is 25 and ftp is 2 1. These services are started by default in win2000 installation. Individual users are really unnecessary. Closing a port means closing useless services.

In the control panel "Administrative Tools" in "Services".

1, close ports such as 7.9: close simple TCP/IP services and support the following TCP/IP services: character generator, daytime, discard, echo and quotation of the day.

2. Close port 80: Close the WWW service. The name displayed in "Service" is "World Wide Web Publishing Service", which provides web connection and management through the snap-in of Internet information services.

3. Close port 25: Close the Simple Mail Transfer Protocol (SMTP) service, which provides the function of sending e-mail across the network.

4. Close port 2 1: Close the FTP publishing service and provide FTP connection and management through the Internet information service management unit.

5. Close port 23: Close the Telnet service, which allows remote users to log on to the system and run console programs using the command line.

6. It is also important to shut down the server services that provide RPC support, files, printing and naming pipes. Turning it off will turn off win2k's default * * * enjoyment, such as ipc$, c$, admin$ and so on. The shutdown of this service will not affect your other operations.

7. The other port is 139, and the port 139 is NetBIOS >;; & gt session port for archiving and printing * * *. Note that the unix machine running samba has also opened the port 139, which has the same function. In the past, streamer 2000 was not very accurate in judging the host type of the other party. It is estimated that the 139 port is open, and it is considered to be an NT machine, but it is ok now.

Is the method of turning off 139 listening selected from "Local connection" in "Network and dial-up connection"? gt; > internet protocol (TCP/IP) "property, enter advanced TCP/IP settings and WINS settings, and there is a" disable NETBIOS of TCP/IP ". Check the box to close the port 139.

For individual users, it can be set to "Disabled" in various service attribute settings to avoid restarting the service and opening the port next time.