1. I have been looking into hosting a Rust server yet again, however this time I did it from a dedicated server machine on my Local Area Network instead of a rented dedicated server.

    Everything was going rather smoothly as I was using one of my friends to connect to the server to see if alterations were working. When I joined from my machine however it wouldn't let me in and kept erroring saying: Disconnected Connection Attempt failed.

    I thought this was strange as others online could connect perfectly well to the server and didnt mention any issues however I could not connect.

    *Note I have a few machines on my network the server I am attempting to join is being hosted on a seperate machine on my network NOT my usual workstation however neither my normal or the one server machine can connect to the gameserver.

    *Note I am also not running any extra plugins at the moment so they will not be the issue.

    Start.bat:
    @echo off
    cls
    :start
    echo Starting server...

    RustDedicated.exe -batchmode +server.ip 0.0.0.0 +server.port 28015 +server.tickrate 30 +server.hostname "CENSORED" +server.identity "CENSORED" +server.maxplayers 80 +server.worldsize 4000 +server.saveinterval 600 +rcon.ip 0.0.0.0 +rcon.port 28016 +rcon.password "CENSORED" -logfile logfilename.log"

    If anybody has any idea as to what may be causing this I would love for some help. I am sure it is a simple problem I am overlooking, however, today I can just not fathom it out at the moment.

    - James Kerrison
     
  2. Well if it is on the same network in most cases the only way to connect to it would be client.connect localhost/client.connect 127.0.0.1 I'm not too sure though i don't host my box from my house :p
     
  3. I have tried this, it doesn't allow me in.
     
  4. can you ping the ip address at all or what happens when you do that?
     
  5. It responds normally when being pinged. Everybody else can join it when they are not on my LAN
     
  6. Wish i could be better help i'm not a windows person linux stuff i don't know troubleshooting for anything for windows hopefully someone else can help, because thats strange :p
     
  7. What are you typing to connect to the server and is server running from same pc as client
     
  8. its happend some times me too.it was somekind ip proplem i am sure that but not remember fix that just now.
    mayby you pc ip its different now some reason or not if another players can join.
    i connect my server this ones.client.connect localhost:28015

    change that now!! rcon.password "CENSORED"
     
    Last edited by a moderator: May 21, 2017
  9. I think "CENSORED" is him hiding it i don't think anyone would actually post their rcon here
     
  10. @James Kerrison I added some things you had missing all you will need to do is change a few things in the bat file
    server.identity
    server.hostname
    rcon.password
    server.seed
    < I set this to 1986 so change this if you want
    use notepad++ to edit the file
    Code:
    @echo off
    cls
    :start
    echo Starting server...RustDedicated.exe -batchmode -nographics +server.stability true +server.ip 0.0.0.0 +server.port 28015 +rcon.ip 0.0.0.0 +rcon.port 28016 +server.secure true +server.tickrate 30 +server.hostname "CHANGEME" +server.identity "CHANGEME" +oxide.directory "server/{server.identity}/oxide" +server.maxplayers 80 +server.worldsize 4000 +server.seed 1986 +server.saveinterval 600 +rcon.password 1234 -logfile logfilename.log"echo.
    echo Restarting server...
    timeout /t 10
    echo.
    goto start
     

    Attached Files:

  11. Thanks for all of the replies however these do not seem to be working.

    I altered the .bat file with the changes you have recommended yet I am still having the same issue.

    The machine I am hosting the server on is a different machine to the one I am connecting to the server with. Yet no matter what, when I attempt to connect with my machine it errors the same as before.

    Also yes, the CENSORED was me hiding the password :D
     
  12. So if you use same machine you can mayby connect?you use different machine same network?and you have only 1 steam account?try stop you steam that machine where you have server.that mayby messed system if you have 2 pc same network and both runn same steam account.not sure if its help.
     
  13. I got there in the end. I had to sort out some LAN settings on the other machine.
    After that I simply typed client.connect (Machines LAN IP):28015 and it worked, thanks for all of your amazing suggestions and some help with some extras for my .bat.

    Yet again, honestly the best community for assistance, thanks again.

    - James Kerrison