none
Close port 80

    질문

  • Hi, how can I use cmd to close port 80 on my win7 home premium pc? I want to disable web-browsing at certain times of the day while keeping my IM program connected so that people can still call me.

    I have tried a program, iNetProtector, that does just that. However, right after installing the program the pc is soooooooooooooooooo slow, each click takes almost 5 mins to respond. I even suspected if it was a malware, the only thing I could do is to wait ages for the pc to restart and then enter safe mode to uninstall it.

    Thanks.

    2011년 8월 25일 목요일 오후 2:31

답변

  • You don't need the cmd prompt to disable port 80.

    To disable port 80, go to Windows Firewall with Advanced Security (just type it in the Start search box). On the left you'll see Outbound Rules, right-click on it and select New Rule...

    Then, select Port in rule type and hit Next. Select protocol TCP and type 80 in the Specific Remote Port box. Then, select Block the connection and hit Next. Select the network profile(s), give it a name (and remember it) and click on Finish.

    This new rule will be added to the list of Outbound Rules. In case you want to enable web browsing back again, find the rule by name, right-click it and hit Disable Rule. That's it. Enable or disable this rule as desired.

    Please revert back here in case of any queries. Hope it helps!


    Kunal D Mehta - a Windows Server Enthusiast.
    2011년 8월 25일 목요일 오후 4:12
  • Hello,

    Hi, how can I use cmd to close port 80 on my win7 home premium pc? I want to disable web-browsing at certain times of the day while keeping my IM program connected so that people can still call me.

    configure your internal firewall to block it: http://technet.microsoft.com/en-us/library/cc875811.aspx

     


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator 

    2011년 8월 25일 목요일 오후 4:12
  • I don't think we can do that using the built-in tools provided with Windows 7. Hope it helps!


    Kunal D Mehta - a Windows Server Enthusiast.
    2011년 8월 26일 금요일 오후 6:07

모든 응답

  • You don't need the cmd prompt to disable port 80.

    To disable port 80, go to Windows Firewall with Advanced Security (just type it in the Start search box). On the left you'll see Outbound Rules, right-click on it and select New Rule...

    Then, select Port in rule type and hit Next. Select protocol TCP and type 80 in the Specific Remote Port box. Then, select Block the connection and hit Next. Select the network profile(s), give it a name (and remember it) and click on Finish.

    This new rule will be added to the list of Outbound Rules. In case you want to enable web browsing back again, find the rule by name, right-click it and hit Disable Rule. That's it. Enable or disable this rule as desired.

    Please revert back here in case of any queries. Hope it helps!


    Kunal D Mehta - a Windows Server Enthusiast.
    2011년 8월 25일 목요일 오후 4:12
  • Hello,

    Hi, how can I use cmd to close port 80 on my win7 home premium pc? I want to disable web-browsing at certain times of the day while keeping my IM program connected so that people can still call me.

    configure your internal firewall to block it: http://technet.microsoft.com/en-us/library/cc875811.aspx

     


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator 

    2011년 8월 25일 목요일 오후 4:12
  • Hi, thanks for the replies. How can I schedule the firewall rule to take place automatically (eg from 9pm to 5am every day)?
    2011년 8월 26일 금요일 오전 7:48
  • I don't think we can do that using the built-in tools provided with Windows 7. Hope it helps!


    Kunal D Mehta - a Windows Server Enthusiast.
    2011년 8월 26일 금요일 오후 6:07