this post was submitted on 27 Nov 2023
2 points (100.0% liked)

Home Networking

189 readers
1 users here now

A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.

Rules

founded 10 months ago
MODERATORS
 

Hi guys, I’m new to Networking, I used Windows Defender to create a new rule to block Port 139, Then when i used Zenmap, i still see the port open and i also used cmd command netstat -aon | findstr 139 and i see services still listening to the port, Someone please explain how do i close a port? I cant seem to find any tutorial to show that, I also used a python script to scan ports in my machine and the port 139 is still open even when i blocked it in windows defender

I want to close port 139 to avoid NetBios ssn vulnerability

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago

In short, make sure the service that runs on port 139 is not running. It will closed the port. Because the service is binding its self to oort 139.

Another way is to create a rule to block port 139 from any any

[–] [email protected] 1 points 9 months ago

You've blocked the port, but that does not prevent a process/program from binding to it.

So, you have a program listening on the port, but it will never get any traffic because you have blocked that traffic from ever reaching it.