Showing posts with label Networks. Show all posts
Showing posts with label Networks. Show all posts

Wednesday, December 10, 2014

How to list all of listening ports in Windows command prompt?

netstat -anb | findstr /R /C:"[LISTENING]"

How to solve problem "No connection could be made because the target machine actively refused it"

#1 reason is: target machine TCP not listening.
Can run following command line to check:
netstat -anb

What is difference between 0.0.0.0 and 127.0.0.1?

127.0.0.1 is localhost. Only same machine can access this address.
But 0.0.0.0 means all of ip addresses binding to this machine.

Reference:
http://blog.lauramamina.com/article?title=0.0.0.0%20vs%20127.0.0.1