Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

10061 Error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    10061 Error

    I keep getting this error in my log file...

    "An error occured while attempting to connect: 10061"

    I am attempting to connect to an external program that is listening on port 9000. That program is working fine and has been tested to accept incoming connections on that port.

    Here is my code...

    simulated function InitTCPLink()
    {
    Resolve ( ServerAddress );
    Log("TCP Initiated. Address: "$ServerAddress);
    }

    event Resolved ( IpAddr Addr )
    {
    Addr.Port = ServerPort;
    BindPort( Addr.Port );
    ReceiveMode = RMODE_Event;
    LinkMode = MODE_Text;
    Log("IP Resolved");
    Log("Port: "$Addr.Port);
    Open ( Addr );
    }

    Log file...

    ScriptLog: IP Resolved
    ScriptLog: Port: 9000
    Log: Open: An error occured while attempting to connect: 10061
    ScriptLog: TCP Initiated. Address: 127.0.0.1

    #2
    Error 10061: "No connection could be made because the target machine actively refused it."

    I guess your program is blocked by a firewall. Make sure you open the desired port in the firewall, otherwise your mod won't be able to connect.

    Comment


      #3
      I dont have any firewall enabled on my computer. Its always been disabled. Im behind a network firewall so i dont use the standard windows. Im also keeping all the communication on the localhost. Ive been trying to fix this for 3 days now.

      Comment

      Working...
      X