2 Servers on One Machine
5 posts
Page 1 of 1
-
Amatt
Winter Celebration 2013
- Posts: 21
- Joined: Tue Apr 09, 2013 12:44 am
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.shCode: Select all
Once you have done that, repeat the above command
ctrl+a dCode: Select all
To reconnect to the screen, type screen -S Server2 server2folder/start.shCode: Select all
or screen -r Server1Code: Select all
To stop the server, type screen -r Server2Code: Select all
Hope this helps!ctrl + c~Amatt
-
Horst <AT>
Deuce - Posts: 15
- Joined: Fri Feb 12, 2016 8:14 am
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest