mdarkness1988 / Rust-Server

Modified Rust Server from didstopia
MIT License
8 stars 19 forks source link

second rust server ? #7

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi,

when i create a second rust server, it doesnt work. Set other file location and other Ports for rcon and rust, but the server is untraceable and rcon get the message " Connection was closed - Error 1006 "

mdarkness1988 commented 5 years ago

If you make a second instance you must select host mode to a custom IP address so that the ports don't conflict with each other.

But doing so will brake the auto port forwarding on that rust server so you must open the new ports manually on your router.

P.S don't use same ports as the other server. I will try to simplify this in the near future but as of now this is the only way

mdarkness1988 commented 5 years ago

Before you do that. Did you match the port numbers with the port forwarding numbers?

ghost commented 5 years ago

Yes i choose diffrent ports and open the ports manually on my router in the same way like the first server. I have choose bridge as network, each instance has a own ip address

r1

Server1: r2

Server2: r3

mdarkness1988 commented 5 years ago

For web ports try 81 not 8090. Use port 28016 instead of 28015 And port 28017 instead of 28016

So basically go 1 number on each and let me know.

Ideally select custom IP so say your host is 192.168.0.10 Then server 2 should be 192.168.1.10

mdarkness1988 commented 5 years ago

Only change the port forwarding ports and leave the others default as that won't matter since it's on a new up address

ghost commented 5 years ago

now it works with complete other ip address server 2 is now 192.168.1.50 ports a default, only rust port is other

mdarkness1988 commented 5 years ago

Good to hear. I will try make it simpler in the next few updates I make.

ghost commented 5 years ago

Unfortunately too early pleased After a restart of the Container, 1 sometimes it works, sometimes it doesn't.

ghost commented 5 years ago

Solved the problem first. If you change the port of an existing container, it does not work. You have to delete the container and create a new one. Let's see how long it lasts, or I'll get back to you