Windows 2012R2 dedicated server

Discussion in 'Multiplayer Meeting Room' started by SilvRav, Aug 15, 2017.

  1. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    Hi Guys

    I am back and renting a server again.

    Its a VPS with remote desktop connection. All ports are open and i allowed all of the required ports via the firewall.

    The server is set up and running.
    I can ping the server IP from my PC
    all ports are open

    however, i can not connect to the empyrion server.....

    any assistance would be appreciated.
     

    Attached Files:

    #1
    Last edited: Aug 15, 2017
  2. ZotaOTT[RU]

    ZotaOTT[RU] Guest

    Same problem! Everything is set up, everything is redirected and opened! The server is not listed in the server list ((((
     
    #2
  3. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    So i played around a bit more.
    enabled telnet client and server for use of EMP admin helper.

    Created a new YAML for a new game.

    Start server
    game server starts and creates new save under save folder (thus confirming its using and running the correct configs)
    taks manager shows empyrion and payfield server
    emp admin helper turns green and thus running.

    yet, not connecting to server via direct ip - empyrion states connection timed out
     
    #3
  4. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    and see, everything is open
     

    Attached Files:

    #4
  5. ZotaOTT[RU]

    ZotaOTT[RU] Guest

    WHERE ANSWERS! I BUY GAME AND I WANT TO MAKE SERV!!!!
     
    #5
  6. ZotaOTT[RU]

    ZotaOTT[RU] Guest

    Hello man! OK. I solved the problem)))) This is our problem man !!!!
    I did:
    I reset the router
    I flashed the last firmware router!
    And put the server (where the redirect to configure)
    In the DMZ mode
    And it all worked!
     
    #6
  7. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    im with a hosting company and all ports are open so wont work for me
     
    #7
  8. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    So i have successfully just hosted 2 other games on the server and thus is not a server issues but an empyrion issue
     
    #8
  9. En_Ma

    En_Ma Commander

    Joined:
    Aug 2, 2017
    Messages:
    31
    Likes Received:
    84
    Have you checked Windows' internal firewall? Pay special attention to the corporate/private/public zones. They can get quite wonky, more so if you enable IPv6 (since it's always set as automatic addressing, it sometimes starts before IPv4 and resets the zone to public)

    Then there's Empyrion's dedicated.yaml
    According to what documentation I could find:
    Srv_Port Default is 30000. If your are using a router and/or a firewall, you need to forward the ports 30000-30004 UDP and TCP.
    (by the same token, depending on your firewall, you might have to add in rules for both TCP and UDP)

    Unless you're tunneling it through something encrypted you should really disable it. Telnet is inherently evil unless over a serial link.

    You should really open only the relevant ports. Windows hosted servers are zombified at an alarming rate.
     
    #9
  10. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    Firewall disabled

    all ports are opened and confirmed via port scanner that it can reach the server

    cool will remove telnet as i see now admin helper also dont use it anymore
     
    #10
  11. Triblade

    Triblade Ensign

    Joined:
    Aug 3, 2017
    Messages:
    17
    Likes Received:
    15
    Can you reach you server with both UDP and TCP at port 30000? (as stated by En_Ma before)
    In my firewall at home, I forwarded (DNAT) ports 30000-30004 both TCP and UDP to my server.

    Most port scanners by default only check TCP.
    I think (did not check!) that port 30000 is TCP for the initial connect and 30000 UDP for the 'rest' of the game.

    Windows firewall is fine and all, but are you sure the router to the server is in DMZ mode? (aka all ports forwarded)

    ---------

    In my own experience my first dedicated hosting attempt failed because I did not opened UDP. Empyrion says it will connect, but after a small while it still gave up telling my friend something along the line 'connection failed' or something like that.

    Then I opened the above range in both protocols and voilà, it worked!
     
    #11
  12. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    Im hosting via service provider so they open all ports forwarding to the server

    i have now reactivated the fire wall and will only open 30000-30004 in TCP and UDP and see
     
    #12
  13. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    done., lets see if it works
     

    Attached Files:

    #13
  14. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    and restarted and as you can see UDP and TCP are allowed
     

    Attached Files:

    #14
  15. Triblade

    Triblade Ensign

    Joined:
    Aug 3, 2017
    Messages:
    17
    Likes Received:
    15
    I guess it still does not work?

    I see in the last post that EmpyrionDedicated.exe is listening. In the post before that, the executable (not the specific ports) only have a Private profile set to them. I think you connect to the Windows server using the Public profile.

    Could you try to disable the two EmpyrionDedicated.exe and the two EmpyrionPlayfieldServer.exe rules? Then you are sure that the rules for the specific ports on the 'All' profile will take preference.
     
    #15
  16. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    and still timeout when trying to join server via empyrion
     
    #16
  17. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    ok, have disabled them. lets see.

    but surely these program should be given access? maybe make them public?
     
    #17
  18. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    ok, we finally got it working!

    for some reason server 2012R2 does not like port 30000.

    So server is running on 30002 and i had to open port 30005 in addition
     
    #18
  19. Triblade

    Triblade Ensign

    Joined:
    Aug 3, 2017
    Messages:
    17
    Likes Received:
    15
    I've got my own hardware at home with Windows Server 2012R2, and no problems with that port...

    But great it's working for you! :)
     
    #19
  20. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    nope, back to having issues...

    could connect once play a bit but now keep getting time out message again

    also strange is if i look under the save folder of the saved game, it did not save player or playfield info

    and the log attached...server is running
     

    Attached Files:

    #20

Share This Page