Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have followed the step by step instruction to open a port on Windows 7, setting both Inbound Rules and Outbound Rules to following specification:

Protocal Type: TCP
Local Port: 55000
Remote Port: 55001
Scope: Any IP address
Programs: All programs that meet the specified conditions
Profiles: Domain, Private, Public (all checked)
Name: FooPort

ScreenShot1ScreenShot2

Then I run netstat -a on my command prompt to find the open port, the TCP port 55000 or 55001 aren't there as shown in below screenshot:

enter image description here

If I try telnet myself, I, of course, receive the following error:

telnet Screenshot1

How can I open the port and get it to listen?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

If you open up a Shop Checkout, you need to put a Cashier behind it such that people can pass with their products. If you only have tho Shop Checkout open, nothing can pass if there's nobody there.

So, besides opening the port you need an application that listens to that port.

The port itself, however, can only be open. Ports can't listen by themselves... Applications listen.

share|improve this answer
1  
+1 and correct. I just wrote a piece of code to instantiate a TcpListener (C#). Now it's listening and showing on netstat. –  KMC Mar 2 '12 at 3:15

TCP? Although theoretically you can go up to 65535 As I understand it, you should only use up to 49151, as from 49152 up to 65535 are reserved for Ephemeral ports

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.