SOLVED rFactor2 Host...

Discussion in 'Technical & Support' started by Dan-Ove Brantholm, Oct 9, 2018.

  1. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    Hi!
    Hope someone has a idea on what the problem is. I'm trying to host with rFactor2 and have followed various guides found on the net, including the ones on this site. I quite familiar with computers, and have multiple working port forwarding active in my network that work ok. The problem is that I cannot see my server in the multiplayer list.
    Forgot to mention that i can connect locally with ".\steamapps\common\rFactor 2\Launcher\Launch rFactor.exe" +connect="192.168.1.101:64297"

    The port config in multiplayer.json:

    "HTTP Server Port":64297,
    "Simulation Port":54297,

    I have the steam plugin activated. I don't know if it really has something to do with it, but I read som thread about it....

    The firewall in my computer is turned of

    My OS is Windows 10 x64 Build 1803


    Ports seems to be open (I have also tested with setting the DMZ in my router with no difference in result)
    (https://portscanner.standingtech.com/)
    upload_2018-10-9_17-10-29.png

    upload_2018-10-9_17-12-14.png


    upload_2018-10-9_17-11-16.png

    Here is strange thing:
    The port 64298 and 64299 seems to be closed.
    upload_2018-10-9_17-33-6.png


    If I check with netstat, at least 64299 seems to be opened:

    upload_2018-10-9_17-34-16.png

    But 64298 is not:
    upload_2018-10-9_17-34-48.png

    The port forwarding in my router:
    upload_2018-10-9_17-40-36.png

    If I list the ports that are opened by "rFactor2 Dedicated.exe" there are some more ports that are opened, and I have also tried to forward them too in the router with no success.


    - Is the "Mather Status" supposed to show something? In my case it's nothing...
    upload_2018-10-9_17-6-3.png

    Any suggestions are appreciated....
     
    Last edited: Oct 9, 2018
  2. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    Seems like other people can see my server... Not so big issue then, but get kind of frustrated when other people seems to get it work...
     
  3. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Just use your +connect option to join your own server, I found that the easiest.

    By the way, you scribbled out your IP in those shots but it was still visible further down. You should also (if you're going to try to hide it) use a solid block, not a pen, to do so :)
     
  4. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    If you are hosting on your local network for you to see it as well you will need to change your http port to 27013 (the range is 27013 a 27018) in your multiplayer.json file. It will then show for you in the LAN tab on your browser.
    Port forward then would be;
    27013 TCP
    54297 Both
    27014 UDP
    27015 UDP
     
  5. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    Nope, change port is not necessary. I see mine just fine under WAN without that.

    Edit: Not in LAN, ok , thats right
     
    Last edited: Oct 10, 2018
  6. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    923
    Likes Received:
    578
    I have 64297 TCP and UDP on mine and it works OK.
     
  7. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    If you have a router that does not support nat loopback (Some newer models don't, the IT industry see it as a security exploit possibility) then you will have to use the 27013-27018 range to be able to see your local network server.
     
  8. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    Thanks, not home so I can verify it, but I know my router doesn't support nat loop back, because I cannot connect to other services inside my network through my external io. I know it works with opemwrt.
     
  9. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    Why should the port number matter ?
     
  10. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    It's basically the Steam allocated LAN discovery ports to use if you want your local network server to show up for yourself under LAN..it will show under WAN for everyone outside your network, assuming you have a router that does not support Nat loopback... If it does support it then yeah port numbers are not a big deal.

    If you don't want to use the "LAN" port numbers, then you can always use the + connect method mentioned by Lazza a few posts up in this thread.
     
  11. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
  12. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
  13. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    Ah, ok, i am the new guy in town - its from 2016, but that still makes no sense ;)

    Let stop it here.
     
  14. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    @Akela_DE I posted in a hurry, I meant to say "this doesn't provide any reasons as to why, but …". Don't feel that you're being shut down or asked to not look into it, I don't know where this port range came from but I've seen it mentioned again and again and generally it solves the issue if nothing else does.

    Presumably it came from somewhere in the first place, but you'd have to ask I guess Chris (or Marrs) about that since they were the source as far as we're concerned. The one you've linked to might be different, more or less up to date, slightly incorrect, or something else.

    And hey, it's computers - it doesn't have to make sense, it just has to work :)
     
  15. Louis

    Louis Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,379
    Likes Received:
    840
    here the guides how to host a race on rf2?
    nevermind

    edit:
     
    Last edited: Dec 9, 2018
  16. Louis

    Louis Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,379
    Likes Received:
    840
    Last edited: Dec 9, 2018
  17. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    You use the ports defined in the .json.
    That can be changed of course to other ports like above
     
    Louis likes this.
  18. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    Seems like it is a Windows 10 issue in the end. Have installed a second pc and reused all the config files from the previous Windows 7 pc and set the same ip (no changes in the router) and now the server doesn't show up in the list. (Firewall completely disabled in Windows 10)
     
  19. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    I Realize that my post was a bit unclear... My first posts was when I tried to make it work in my gaming pc that runs on Windows 10 Pro. After that I installed the dedicated server on a Windows 7 machine and everything just worked perfect. Yesterday I installed a new pc with Windows 10 Home and set the same IP as the previous Windows 7 machine and just copied the player folder from that machine. Summarized: I can get dedicated server work in Windows 7 but not in Windows 10. I will change back to the Windows 7 machine again just to ensure that it isn't some random issue outside my network....
     
  20. Dan-Ove Brantholm

    Dan-Ove Brantholm Registered

    Joined:
    Dec 27, 2017
    Messages:
    51
    Likes Received:
    13
    It was the c++ run times. Very strange, I'm sure that all applications that I have installed until now, has always prompted med for the vcredist install if it was missing, but obviously not this program. Because of this, it would had been the last thing for me to try... Thanks!
     

Share This Page