Learn how to 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
- Open Control Panel from the Start menu.
- Select Windows Firewall.
Note: If Windows Firewall is not available, change View by to Large icons at the top right of the Control Panel window.
- Select Advanced settings in the left column of the Windows Firewall window.
- Select Inbound Rules in the left column of the Windows Firewall with Advanced Security window.
Note: You can prevent outbound traffic by selecting Outbound Rules.
- Select New Rule in the right column.
- Select Port in the New Inbound Rule Wizard and then click Next.
- 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.
- Select Allow the connection and then click Next.
- Select when this rule applies (check all of them for the port to always stay open) and then click Next.
- Give this rule a name and then click Finish to add the new rule.
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)
7 ECHO
18 Message Send Protocol (MSP)
20 FTP — Data
21 FTP — Control
22 SSH Remote Login Protocol
23 Telnet
25 Simple Mail Transfer Protocol (SMTP)
29 MSG ICP
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
80 HTTP
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
443 HTTPS
444 Simple Network Paging Protocol (SNPP)
445 Microsoft-DS
458 Apple QuickTime
546 DHCP Client
547 DHCP Server
563 SNEWS
569 MSN
1080 Socks
View all 50,000 ports.
Still need help? Ask your computer question now.
Thanks alot!
Man,thanks a lot,you are genius ! ;)
Yes, Thanks Much!! After a couple of hours of trying to get this working, I found your site and was working w/in minutes!
im still puzzled of opening port for utorrent. we need both to crea8 both TCP and UDP? where about outbound do we need to crea8?
I tried this solution and I still get the same error message stating that ports 2077 and 2078 need to be opened or they are blocked by firewall. I even xompletely turned off my firewall after adding and ut still doesn’t work
THX M8 U SAVED ME :)
I followed the rules on how to Open a Port in Windows 7’s Firewall above and I wanted to give a test to see if it works and still I get this:
Pinging 127.0.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
This should have work but apparently it doesn’t. So why am I losing packets? It seems that it cannot find back to my computer. Why? I would appreciate some help. Thanks
I did it step by step, but that port I opened still haven’t open! Now how do I undo it?
Thank-you. Worked perfectly
Thank you! At last someone explained it clear! Better than Microsoft Link!
Thank you! At last someone explained it clear! Better than Microsoft
Link!
Save my time. Thanks!
Brilliant!!! I had to help someone with this and don’t have Win 7 on my pc yet so this helped like you can’t believe :)
Not eaven Quickbooks support could figur this out. Thank you
Thanks a lot. It was really helpful to me.
Thanks. This is exactly what I needed.
Thanks! Really helpful, easy guide!
Thanks a lot, very helpful.
Thanks, but I still cannot open any UDP port. Port is forwarded in router. So I am stuck as I was before I read this article. I can open TCP ports.
Start Craft 2 can be installed by opening the ports that are required for the game.
Go Star Craft 2
Thanks a lot. It was really helpful to me.
Nice post!!! It really helped me. ^^
simply gr8.. i was wanderin around quite sum tym u ‘ve don d magic!
Thanx a Lot :)
thanx dude that’s helpful
Thanks man really it helped a lot
Thankyou very much, great easy gude.
was having trouble with the ports from downloadng the latest World of Warcraft patch, and this help loads, thanks! :)
Glad I could help Gemma.
I am new about Win 7,
I have add my program in windows 7 firewall exception list.
how to Allow a Program through Windows 7’s Firewall by coding or programaticaly? just like through registry key.
Really thank you man. I lost 2 hours of reading fake posts :) THANK YOU REALLY MUCH MAN !!! GENIOUS !!! :)
thanks u helped me a lot
The post was very help ful man. Really thanks. It helpped me to solve my problem.
Glad I could help Ashish.
Thank you man, thats help me a lot !!!
Hi, I am trying to start jboss server in eclipse (on win 7) and getting following error. Pls help
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
I have tried as u mentioned above to open the ports not not able to succeed
You are a LIFE-SAVER dude…..
Thank you for a great guide, I also found plenty of information for port forwarding on all versions of windows and router at:
http://www.uitips.com/tips/how-to-open-ports-port-forwarding
Thankyou for the instructions. I use Postalmate POS software and recently performed a software update and the firewall settings were affected. I followed the procedure and was able to add firebird software to port 3050.
Thanks Again for the easy to follow instructions..
THX! :)
I was helped by this to make a gmod server :D
Mate, your a legend. Thanks a load!!!!
Nice post. Thanks a lot. :)))
Thanks a load!! :D
thanks alot you are an expert :)
I tried too much block port # 443 https, but this method didn’t work for me, caz i need to block sites accessing by https.
can someone help.
thanks
MAAAAAAAAAAN THANK YOU SOOOO MUCH *-*
Thx man it saved my problem with my metin2 server thx
Thanks.. was easy to understand…
Thanks A lot. Really! It was good
I did all the steps from above and it was all a success but when i checked if the port was open from this website(http://www.yougetsignal.com/tools/open-ports/), it said it was closed.
Any ideas?
maybe it dosen’t open ports for some security settings but opens them for most of options so website can not do anything to you, without any software on your computer that uses the port.
thanks man!
it was really helpful……..was able to add the ports
//////////////thanx
Thanks. I couldn’t figure out managing ports in Windows 7. They are making things ever more complicated.
Thanks a lot :)
Superior thinking demnotsrated above. Thanks!
that was awesome explantion..:) i got it.. lets see if it works perfectly..:)
It works i opened my port 81
check your ports here
http://www.canyouseeme.org/
Thanks,
It was great!
Mate, you are a dead set legend! Consise and straight to the point instructions! I’ve spent hours trolling different sites that gave me the absolute run-about. Now I can finally start work on my website !!!!!!
If only the rest of the world was as straight forward an easy as this, I’d be a REALLY HAPPY CAMPER!!!!!!!
Thanks Bob.
Thanks a lot i got it on my birthday this was just like a present….
thanks so much for this! it was very helpful info. (^^.)
if you’ll click my name, my site will be opened, if not, than my server is down….
thank you, this solution worked for me…
Like most of the other posts here – very easy to understand!……step, by step illustration is %100 excellent!
I did this step by step, i even did it twice for both TCP and UCP, But the port 25565 Just wont open for me, Can any body help?! please iv been looking for a solution for days now :(
thanks……..muahh!!!!!!
I did this, then went on a port checker and it still says port 80 is closed.
http://www.yougetsignal.com/tools/open-ports/
is the port checker i used.
The game that requires port 80 to be open still doesnt work. What did i do wrong, do i have to be an administrator on my pc for this to work?
But 3306 port is not working when follow these steps.
it helped. thanks a lot
thankxx :)
thanks a lot. Nice instruction
Thanx a lot.Solved my problem.
thanks ……..
i have a problem with my firewall
make me can’t do any thing of that
when i open my firewall
i have only one selection ( Use recommended settings )
and when i select it
i get this message
Windows Friewall can’t change some of your settings .
Error code 0x80070422
Help Plz…
[…] (More details at: http://maximumpcguides.com/windows-7/open-a-port-in-windows-7s-firewall) […]
I tried the solution …but still the problem is same …could not open connection to the host on port 23…connection failed.
Pl pl pl someone help me.