Search Unity

Third Party Mirror: Typing in the ip adress and clicking "Client" won't connect to the host

Discussion in 'Multiplayer' started by Skyflamme, Apr 3, 2022.

  1. Skyflamme

    Skyflamme

    Joined:
    Aug 12, 2020
    Posts:
    33
    Hey,

    I'm new to Mirror, and I have a problem, when my friend is typing in my ip adress, from his home, and I am hosting a game, it will load a little time, but then it takes him back where he can type in my ip adress. Why? Can somebody help me out?

    NetworkManager.png

    KCP.png

    Have a good day,
    Skyflamme.
     
  2. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    Please check the console log. You should get some kind of socket error. Most likely your port isn’t open.

    You can use our epic online services transport for a free relay. Allows for player hosted games without worrying about ports.
     
  3. jesusluvsyooh

    jesusluvsyooh

    Joined:
    Jan 10, 2012
    Posts:
    377
    - FAQ - To another instance (Internet/WAN)
    https://mirror-networking.gitbook.io/docs/faq#how-do-i-connect-to-another-mirror-instance

    Note, test localhost and LAN first, before WAN, might also be good idea to use one of Mirror/Examples during connection experimenting, to rule out any problems within your own game/code :)
     
    mischa2k likes this.
  4. Rujaboy

    Rujaboy

    Joined:
    Feb 1, 2022
    Posts:
    1
    Hello @Skyflamme,
    I am not a expert when we talk about Mirror. But I think you can find many docs searching for "Mirror + SteamWorks".

    In my project I am following this steps:

    1) Instal Mirror (you know)
    2) Instal SteamWorks.net (816kb)
    3) Instal Fizzy steamworks (13kb)
    4) Start the project.

    See u soon.