1. I've been trying to make a server for Rust for about two days and it has been painful, really painful. Whenever I startup the server it says "Connected to Steam." When I check the port or try to view the server from the Steam Browser I get nothing. I've been searching stuff and I have tried many things, and I don't get results. So I'm posting this in hopes to get help cause I'm getting a little annoyed and desperate. My last choice is to go webhosted, but I don't know if I want to spend the money, if I have to I will.

    So here's what I've done so far, I've portforwarded 28015 and 28016, both UDP and TCP. I've installed Oxide correctly.

    So after searching up some stuff, Steam told me to portforward 27015, so I did. Nothing. I've tried redownloading incase I messed something up. Nothing.

    So I really don't know what to do here. Any help would be great. Thanks.
     
  2. Wulf

    Wulf Community Admin

    Rust doesn't use 27015 by default, the default server port is 28015 (UDP) for the main server port and 28016 (TCP) for RCON.

    Could you provide your RustDedicated_Data/output_log.txt and a screenshot of your console please?
     
  3. Can you post what you have in your bat file as well as what Wulf needs
     
  4. Right, I still kept those ports. Something on a Steam forum told me as a way to fix the connection problem(Which it didn't). If you check what I put before, I said how I port forwarded both 28015 and 28016 as I do know those are the ports that Rust uses. If the picture of the console wasn't clear I will send a picture of it fullscreened. Thanks.
     

    Attached Files:

    Last edited by a moderator: Apr 5, 2016
  5. Wulf

    Wulf Community Admin

    Your console and log looks fine, but I did remove the log as it contained your RCON password. What do you have for your startup script?
     
  6. Alright, I found this on one of the tutorials on here.

    Code:
    @echo off
    RustDedicated.exe -batchmode +server.hostname "PG Modded Server" +server.port 28015 +server.identity PGModded +server.maxplayers 50 +rcon.port 28016 +rcon.password NOPE +server.worldsize 4000 +server.saveinterval 60
     
  7. Wulf

    Wulf Community Admin

    That's pretty much the default that comes with Oxide. What were you using before? The likely reason was +server.ip was set to your external IP when you are behind a router, which will not work. The default that was in it of 0.0.0.0 would work, or your LAN IP.
     
  8. It was on some other tutorial, then I saw another thread and you said that it should be 0.0.0.0 so I did that. In the logs you'll see I set it to my IP cause of that reason. After switching it back I still don't understand why it's not connecting to Steam or anything. I had the same problem on ROK but I gave up on that a long time ago.
     
  9. Try this
    Code:
    @echo off
    RustDedicated.exe -batchmode +server.hostname "PG Modded Server" +server.port 28015 +server.identity "PGModded" +server.maxplayers 50 +server.ip 0.0.0.0 +rcon.port 28016 +rcon.ip 0.0.0.0 +rcon.password NOPE +server.worldsize 4000 +server.seed 21457845 +server.saveinterval 60
    I add the server seed change it to what you need if you are running this from a vps then change the server ip and rcon ip to the box ip. If running this from a home pc leave it as it is
     
  10. Sorry I got sick. So I tried that command and I didn't get any results.
     
  11. If this does not work for you then you have not built your files right will pm you
     
  12. Quick question, just working on the security of my server (new to admining a rust server) Does both udp and tcp need to be enabled for each port or just udp for 28015 and tcp for 28016 (just clarifying.

    Yes currently my server is fully connectable with rust and rcon with both tcp and udp enabled but if both aren't needed, rather not have both.
     
    Last edited by a moderator: Apr 17, 2016
  13. Wulf

    Wulf Community Admin

    UDP for the server, TCP for RCON.
     
  14. So is the problem this? "Couldn't load server/pg_modded_server/save/Procedural Map_4000_12345/0.sav - file doesn't exist" Is this why Steam can't find my server? Or not connecting in general? If so, how do I go about this? I saw a bunch of other threads and you said commands to load the save weren't necessary. So I'm really confused here.
     
  15. Wulf

    Wulf Community Admin

    No, that message just means your server generated a new map as it couldn't find an old one. It could be due to a permissions issue with your host, or a server.seed not being specified in your config, so it picks a random one each time.
     
  16. So I put up my output log once more, I'm still absolutely confused. I don't know why it's not working, I portforwarded correctly, I made the inbound and outbound ports on my firewall, I used the command line that Oxide came with and also something I saw an another thread of yours, and I have made absolute sure I installed Oxide correctly. I don't know whether I should keep asking around and researching, or call a quits and leave the server hosting to people who can magically get it to work. I remember this same thing happened when I tried to make a server for Reign of Kings, obviously that didn't work out so much. Anyways, thank you for the help, much appreciated.
     

    Attached Files:

  17. Can you post the info from your bat file as going from your file above you have missed the .exe from RustDedicated could also be you have not built your server files right have helped a few others with the same problem you have and they never built there files right if you can post a few screen shots or pm me your skype info will go over how to build it
     
  18. Code:
    @echo off
    cls
    :start
    echo Starting server...RustDedicated -batchmode -nographics +server.ip 0.0.0.0 +rcon.ip 0.0.0.0 +server.port 28015 +rcon.port 28016 +rcon.password "Drax802" +server.maxplayers 50 +server.hostname "|PG| Modded Server Test" +server.identity "my_server_identity" +server.level "Procedural Map" +server.seed 12345 +server.worldsize 4000 +server.saveinterval 300 +server.globalchat true +server.description "Powered by Oxide" +server.headerimage "http://oxidemod.org/styles/oxide/logo.png" +server.url "http://oxidemod.org"echo.
    echo Restarting server...
    echo.
    goto start
    
    Is this what you need?
     

    Attached Files:

  19. Please change it to
    Code:
    @echo off
    cls
    :start
    echo Starting server...RustDedicated.exe -batchmode -nographics +server.ip 0.0.0.0 +rcon.ip 0.0.0.0 +server.port 28015 +rcon.port 28016 +rcon.password Drax802 +server.maxplayers 50 +server.hostname "|PG| Modded Server Test" +server.identity "my_server_identity" +server.level "Procedural Map" +server.seed 12345 +server.worldsize 4000 +server.saveinterval 300 +server.globalchat true +server.description "Powered by Oxide" +server.headerimage "http://oxidemod.org/styles/oxide/logo.png" +server.url "http://oxidemod.org"echo.
    echo Restarting server...
    echo.
    goto start
    If this this will not work for you then it means you have not built your files right I can send you a fully built server over pm system
     
    Last edited by a moderator: Apr 24, 2016
  20. Wulf

    Wulf Community Admin

    Your server is starting fine, so your .bat is fine. If you can't connect to it, it is most likely a port issue.