- MAXIMUMpcguides – Windows 7 tips, tricks, help, and how-to guides - http://maximumpcguides.com/windows-7 -

Open a Port in Windows 7’s Firewall

In this example I’m going to allow all traffic requesting port 80 (the default HTTP “web” port) through.

Open a Port in Windows 7’s Firewall

  1. Open Control Panel from the Start menu.
  2. Select Windows Firewall.

    open-port-windows-7-firewall-1 [1]

    Note: If Windows Firewall is not available, change View by to Large icons at the top right of the Control Panel window.

  3. Select Advanced settings in the left column of the Windows Firewall window.

    open-port-windows-7-firewall-2 [2]

  4. Select Inbound Rules in the left column of the Windows Firewall with Advanced Security window.

    open-port-windows-7-firewall-3 [3]

    Note: You can prevent outbound traffic by selecting Outbound Rules.

  5. Select New Rule in the right column.

    open-port-windows-7-firewall-4 [4]

  6. Select Port in the New Inbound Rule Wizard and then click Next.

    open-port-windows-7-firewall-5 [5]

  7. Select which protocol this rule will apply to (TCP or UDP), select Specific local ports, type a port number (80), port numbers (80,81), or a range of port numbers (5000-5010) and then click Next.

    open-port-windows-7-firewall-6 [6]

  8. Select Allow the connection and then click Next.

    open-port-windows-7-firewall-7 [7]

  9. Select when this rule applies (check all of them for the port to always stay open) and then click Next.

    open-port-windows-7-firewall-8 [8]

  10. Give this rule a name and then click Finish to add the new rule.

    open-port-windows-7-firewall-9 [9]

The port is now open and ready to be used.

Well known ports

Here is a list of the most common ports used:

1 TCP Port Service Multiplexer (TCPMUX)
5 Remote Job Entry (RJE)
18 Message Send Protocol (MSP)
20 FTP — Data
21 FTP — Control
22 SSH Remote Login Protocol
23 Telnet
25 Simple Mail Transfer Protocol (SMTP)
37 Time
42 Host Name Server (Nameserv)
43 WhoIs
49 Login Host Protocol (Login)
53 Domain Name System (DNS)
69 Trivial File Transfer Protocol (TFTP)
70 Gopher Services
79 Finger
103 X.400 Standard
108 SNA Gateway Access Server
109 POP2
110 POP3
115 Simple File Transfer Protocol (SFTP)
118 SQL Services
119 Newsgroup (NNTP)
137 NetBIOS Name Service
139 NetBIOS Datagram Service
143 Interim Mail Access Protocol (IMAP)
150 NetBIOS Session Service
156 SQL Server
161 SNMP
179 Border Gateway Protocol (BGP)
190 Gateway Access Control Protocol (GACP)
194 Internet Relay Chat (IRC)
197 Directory Location Service (DLS)
389 Lightweight Directory Access Protocol (LDAP)
396 Novell Netware over IP
444 Simple Network Paging Protocol (SNPP)
445 Microsoft-DS
458 Apple QuickTime
546 DHCP Client
547 DHCP Server
569 MSN
1080 Socks

View all 50,000 ports [10].