2 Servers on One Machine
Hello, I Wanna Create 2 Servers on 1 Linux Machine But When I'm Starting second server i have addres already in use. Plz Halp.
Change the second server's port (in config.txt), such as from 32887 to 32888.
Have fun with it! :)
Have fun with it! :)
1 - Make sure you're using 2 different ports, and that they BOTH ARE FORWARDED.
2 - Use Screen so that they don't stop when you disconnect, or try to start another server.
apt-get install screen
Then
~Amatt
2 - Use Screen so that they don't stop when you disconnect, or try to start another server.
apt-get install screen
Then
Code: Select all
To disconnect from that screen, type screen -S Server1 server1folder/start.sh
Code: Select all
Once you have done that, repeat the above command
ctrl+a d
Code: Select all
To reconnect to the screen, type screen -S Server2 server2folder/start.sh
Code: Select all
or screen -r Server1
Code: Select all
To stop the server, type screen -r Server2
Code: Select all
Hope this helps!ctrl + c
~Amatt
-
Deuce - Posts: 15
- Joined: Fri Feb 12, 2016 8:14 am
Who is online
Users browsing this forum: No registered users and 23 guests