This is a handy little program for testing and troubleshooting.
Enter a port to listen on and it will show incoming connections to that port. This can be useful if you are trying to setup connectivity through a firewall or a router.
This could also be used as a security tool to make it appear you are running a service on a standard port, by having the tool respond, while the services is really running on a different port.
Very small single file is only 48k in size.
Get TCP Listen


Any chance I can get the source code for this handy little tool?
It’s .NET, just use reflector
A neat enhancement would be to have the tool show which IP the incoming connection came from.
that would be called called peerblock.
Hi,
Is it possible to listen multiple ports at same time. Or can it take source ports from a flat file and listen to all at once.
Yes, you can listen to multiple ports at once.
Any chance that I can get the source code of this tool.
Thank you… very usefull!
Thanks, simple and useful!
which .net framework version does this application use ?
.Net 3.5 is required
Awesome! exactly what I was looking for… Cheers!
Really very useful tool…. thanks a lot for creating this simple tool.
how do i get listen to listen on a block of 70 ports , without typing all of them in ?
Sorry, there is not a easier way to add that many ports…
This program needs .net 3.5
Is there also a version suitable for Windows Server 2012?
It works fine on Windows Server 2012. I just tried it.
Thanks for this handy tool.
Sweet utility. I wish I’d have had this years ago. Very handy for testing.
Thank-you !!!
Hi. Does this create a listener process on the port, similar in the way NetCat does, or does this snoop the interface?
listener process
Nice tool.. antivirus was deleting netcat. this tool saved me 🙂
THANK YOU!!! If you ever want to enhance it, I suggest to add a multiport (add) system like splited with commas or an interval (x1,x2,x3,…,xn for different ports or y1-y2 for all ports between y1 and y2) or reading from a csv file, or any other simple way. A port stopper would be cool too, and show which IP the incoming connection came from would allow other purposes. And please note Note that this tool is really really great just as it is.
Great Thanks. Similar to other comments, a way to add multiple ports, or a port range. Even from a .txt file would be good.
How about a command line option referencing the text file of ports to start monitoring at open.
Nice simple reliable program. Thanks.
Brilliant & simple
would there be any chance of a version able to output results in a TXT file? I have to capture raw data from point of sale sources to create a parsers for a data event monitoring solution.
Any chance you could update this to work with .NET 4.6.1?
And 4.6.2?
Agreed. Trying to run this on 2012 R2 or 2016 and don’t want to have to use versions of .NET lower than 4.x.
Same issue here
SIMPLE/Y BEAUTIFUL!
Thank you!
Cool tool but once I try to connect to the port on the 2nd or 3rd time it says an error occured, the port may be in use when running nmap scan against it that specific port
is there any chance to add port list ?
Excellent, very handy, perfect time saver for troubleshooting connectivity errors
Nice tool!
though, why, WHY .NET… makes it not a standalone tool :/
Thanks a ton. Really handy when I needed this, and an awesome project to add to my collection of tools to write
great tool very helpful thank you guys
The program opens on Server 2016, but I can’t get a source computer to connect to any ports I put in. It says it’s listening too. Just wondering if it works for others on Server 2016. Thanks ahead!