Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

67.225.180.24:50005 failed

Discussion in 'Multiplayer' started by rooch84, Apr 18, 2012.

  1. rooch84

    rooch84

    Joined:
    Feb 18, 2011
    Posts:
    25
    I'm working on a LAN based multilayer system at work and I'm 99% sure the the port 50005 is blocked, which half explains the error I get:

    Code (csharp):
    1. The connection request to 67.225.180.24:50005 failed. Are you sure the server can be connected to?
    The half I don't understand where in the code this connection request is coming from in the first place? I thought I had disabled NAT, and I'm not trying to run a master server,

    Apparently the IP is registered by Liquid Web, Inc. just outside of Detroit.

    Any help would be greatly appreciated.

    Cheers
    Rooch
     
  2. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,687
    without any code we will never be able to know.
     
  3. rooch84

    rooch84

    Joined:
    Feb 18, 2011
    Posts:
    25
    OK, found it.

    I replaced:
    Code (csharp):
    1. Network.InitializeServer(32, port, true);
    With:
    Code (csharp):
    1. Network.InitializeServer(32, port, false);
    Setting NAT to false. Still no idea where the address originated from though.

    Any thoughts?
     
  4. George Foot

    George Foot

    Joined:
    Feb 22, 2012
    Posts:
    399
    NAT traversal requires a third party machine to determine the public IP addresses of the people that are trying to talk to each other, and to help them guess ports they can communicate on. I guess that's just the host Unity uses for that.
     
  5. ThibaultD

    ThibaultD

    Joined:
    Jun 7, 2012
    Posts:
    10
    The facilitator (used for NAT) address is accessible here: Network.natFacilitatorIP
     
  6. dream000

    dream000

    Joined:
    Oct 5, 2011
    Posts:
    26
    Sorry for posting in an old post.

    Code (csharp):
    1. Network.InitializeServer(2, 25000, true);
    The above code was running successfully until yesterday. But today it is giving following error message:

    When I tested code with following line, it runs smoothly:

    Code (csharp):
    1. Network.InitializeServer(2, 25000, false);
    Could anyone throw some light on this issue?

    And yes my game requires internet connection so I think I must use useNat = true. But I am not able to do so due to this problem.
     
    Last edited: Dec 11, 2012
  7. Spoink

    Spoink

    Joined:
    May 9, 2011
    Posts:
    33
    67.225.180.24 is the IP to Unitys master server. It seems like the server is currently down
     
  8. SeveneduS

    SeveneduS

    Joined:
    Sep 7, 2012
    Posts:
    9
    Do you use "!Network.HavePublicAddress();"
     
  9. aastha

    aastha

    Joined:
    Mar 18, 2015
    Posts:
    4
    Hi,
    I am also facing the issue for unable to connect:
    Failed to connect to master server at 67.225.180.24:23466.

    How can I use my own master server when I add my own IP address. There is another error:
    Failed to initialize network interface. Is the listen port already in use?
    It's not possible to register a host until it is running.

    I am new to networking and unable to understand these issues.
     
    Last edited: Apr 20, 2015