"No connection could be made because the target machine actively refused"

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Plater
    replied
    If you see that target has "actively refused it" message, it's usually not a firewall.
    That message usually means that it made it THROUGH the firewall on the given port, but that the computer you are connecting to does not have a program listening on that port.

    At a command prompt, run:
    netstat -a

    It will show all the ports in use on the current machine, it will say LISTENING if a port is accepting communications on that port.

    Leave a comment:


  • "No connection could be made because the target machine actively refused"

    Helloo

    I am developing a VB.NET application and the server program as well as the client prog works fine on local machine. But when the server program is run on other machine, it gives this error. I saw the same question in the previous post, but there's no solution provided.

    I am using TCP channel and the port is not the standard TCP port 8081.
    Is this causing the problem?
    I also checked the firewall settings.
    No use.

    Please provide a solution..
    Thanx in advance.
Working...