How to determine if a certain port is being blocked

porttcpwindows-server-2003

I've wrote a .NET WCF service I put onto a Windows Server 2003 R2 server several months ago. I've not been able to work with it since, due to other job related responsbilities, but now am trying to get back to it. Back when I did work on it, it worked fine. However, now I'm getting an error message saying that I cannot make a connection to it, from my development machine. That the target machine is "actively refusing it". So I'm wondering if some update, or security patch, applied to the server may now be blocking the attempt. I'm trying to access this via TCP. How do I determine if the TCP port I'm trying to use, is open and listening, on the server?

Best Answer

Use "nmap" to scan the target machine for open ports.

But since you get an active refusal this sounds as if the local firewall on the w2k3r2 server has been activated.

A more simple method is a "telnet IP port" - since this is a TCP service you should get a blank screen or some ASCII-chars if the port is open and listening.

Related Topic