What is port 139 and how do I close it?
Port 139 is used by various versions of Windows for file and printer sharing across a Windows network. Ideally, this will be disabled on your gateway computer for security reasons. To do so, simply open the Network settings in your gateway’s control manager. Click on the button for File and Print Sharing. Here, you will see two check boxes for allowing others access to the gateway’s files and printer. Remove the x from both of these options and click Ok to exit. After these are removed Windows will no longer monitor and respond on these ports, fixing this problem.