Raised This Month: $32 Target: $400
 8% 

¿How can I open 2 servers? help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jesusemilio
Member
Join Date: Dec 2020
Location: Santiago,chile
Old 12-18-2020 , 19:46   ¿How can I open 2 servers? help
Reply With Quote #1

this wea The post was deleted for having written in Spanish since I wanted the answers to be digested into my language but I didn't think it was against the rules .__. So what will I have to put it in English?

A bit unfair but what is it going to be like: P

I am an admin of a server but I want to make another one of tf2
but I don't know how to open it simultaneously with the other one since I open it and it doesn't come out, can you help?
__________________
Admin Del Server TEAM COMPAS
jesusemilio is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-19-2020 , 10:34   Re: ¿How can I open 2 servers? help
Reply With Quote #2

Check what port is the 2nd server running on by typing status into the server console.
TomL. is offline
jesusemilio
Member
Join Date: Dec 2020
Location: Santiago,chile
Old 12-19-2020 , 16:07   Re: ¿How can I open 2 servers? help
Reply With Quote #3

Sooo i need open other port?
__________________
Admin Del Server TEAM COMPAS

Last edited by jesusemilio; 12-19-2020 at 16:08. Reason: :P
jesusemilio is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-19-2020 , 16:18   Re: ¿How can I open 2 servers? help
Reply With Quote #4

Each server is listening on separate ports.
So yes, if your servers are behind a firewall, you will need to open more ports.
TomL. is offline
jesusemilio
Member
Join Date: Dec 2020
Location: Santiago,chile
Old 12-19-2020 , 16:31   Re: ¿How can I open 2 servers? help
Reply With Quote #5

my server is hosted on the router with my pc
__________________
Admin Del Server TEAM COMPAS
jesusemilio is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-19-2020 , 17:00   Re: ¿How can I open 2 servers? help
Reply With Quote #6

It will be the same procedure just other ports.

Last edited by TomL.; 12-19-2020 at 17:00.
TomL. is offline
jesusemilio
Member
Join Date: Dec 2020
Location: Santiago,chile
Old 12-19-2020 , 19:10   Re: ¿How can I open 2 servers? help
Reply With Quote #7

ok

and do you know the ports to open? can it be done with the same ip?
__________________
Admin Del Server TEAM COMPAS

Last edited by DarkDeviL; 01-16-2021 at 16:12. Reason: Merge cross posts
jesusemilio is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-19-2020 , 21:47   Re: ¿How can I open 2 servers? help
Reply With Quote #8

If you are using the same ip you have to use different ports.
You can specify the ports by adding -port X (for connect port e.g. 27015) and -tv_port X (for SourceTV port e.g. 27020) to your server launch commands.

For example:

Server 1
Code:
srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +map de_dust2 -port 27015 -tv_port 27020
Server 2
Code:
srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +map de_cache -port 27030 -tv_port 27035

Last edited by TomL.; 12-20-2020 at 09:37.
TomL. is offline
jesusemilio
Member
Join Date: Dec 2020
Location: Santiago,chile
Old 12-20-2020 , 00:21   Re: ¿How can I open 2 servers? help
Reply With Quote #9

ok thanks

for tf2?
__________________
Admin Del Server TEAM COMPAS

Last edited by DarkDeviL; 01-16-2021 at 16:11. Reason: Merge cross posts
jesusemilio is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-20-2020 , 09:41   Re: ¿How can I open 2 servers? help
Reply With Quote #10

I just copied the launch options from csgo as an example but yes -port and -tv_port work for team fortress 2.

For example:

Server 1
Code:
srcds.exe -game tf -console -usercon +map cp_cloak -port 27015 -tv_port 27020
Server 2
Code:
srcds.exe -game tf -console -usercon +map vsh_Hakurei_Winter_v2 -port 27030 -tv_port 27035

Last edited by TomL.; 12-20-2020 at 09:41.
TomL. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode