SRCDS Steam group


8 Servers 1 Computer
#1
I've read through the forums and found a solution for linux but not for windows.

I need to run a total of 8 counter strike servers on 1 server.
I got to 5 but now i've run into the problems of ports so i plugged in a second cable to the second nic and tried to assign servers to certain ip's which worked, but it won't let me use the same port twice even though it's on a different ip.

So i need to figure out how to use the same port twice on different ip's.

Thanks,
Kyle
Reply
#2
You can't, as far as I know, have 2 servers running on 27015 on one machine.

What you could do is run 1 or 2 virtual machines, these are completely seperate from your main system. You can tell one box to take IP2 and the other to have IP1.

But its not possible to have two ports, even on two IPs, on the same machine.
Reply
#3
RattleSoft Wrote:You can't, as far as I know, have 2 servers running on 27015 on one machine.

What you could do is run 1 or 2 virtual machines, these are completely seperate from your main system. You can tell one box to take IP2 and the other to have IP1.

But its not possible to have two ports, even on two IPs, on the same machine.
Hmm so running windows the MAX amount of servers you can run is 5, there is no possible way to go above 5?
Reply
#4
You can have as many servers as you want or your serve can handle, upto 65535.

The starting port for SRCDS is 27015 and the maximum port you can have is 65535.

But you can't run 2 servers on 27015 on the same dedicated box, the server itself can't listen to both, even with 2 IP addresses, virtualization is a good option though.
Reply
#5
I should clarify a bit more.
I need all the servers to be VIEWABLE.
I know that you can host as many servers as you wont on different ports and manually connect to them, but i need all the servers to viewable, so far i can only get 5 viewable.

Thanks,
Kyle
Reply
#6
RattleSoft Wrote:You can't, as far as I know, have 2 servers running on 27015 on one machine.

What you could do is run 1 or 2 virtual machines, these are completely seperate from your main system. You can tell one box to take IP2 and the other to have IP1.

But its not possible to have two ports, even on two IPs, on the same machine.

I'm sorry for bumping an old thread, however this is entirely incorrect and I would hate to see people "learning" from this.

If your server/computer has multiple IP addresses, you can use port 27015 once for each IP address. Individual IP addresses are just that, literally a "virtual" group of 65535 ports that are specific to that IP address.

My server as 10 ip's, I run 10 servers, one off each IP address, each using port 27015.

If you only have ONE IP ADDRESS, you will infact have to increment your port number for additional servers. ie: 27016, 27017 etc..

X
Reply
#7
Nice to know, I never had teh luxury of multiple nics/IP's maybe can you explain a bit?
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#8
This is the setup that I've been running for almost two years now. I run 5 servers on my dedicated box.
IP #1 has a pub on port 27015, a private on 27016, a private on 27017, SourceTV on 27020, 27021 and 27022.
IP #2 has a pub on port 27015 and TV on port 27020
IP #3 has a private on port 27015

All you have to do for this to work is unblock the port in your firewall and then include +port 27015 and -ip xxx.xxx.xxx.xxx

Works like a charm!
Reply
#9
XARiUS Wrote:
RattleSoft Wrote:You can't, as far as I know, have 2 servers running on 27015 on one machine.

What you could do is run 1 or 2 virtual machines, these are completely seperate from your main system. You can tell one box to take IP2 and the other to have IP1.

But its not possible to have two ports, even on two IPs, on the same machine.

I'm sorry for bumping an old thread, however this is entirely incorrect and I would hate to see people "learning" from this.

If your server/computer has multiple IP addresses, you can use port 27015 once for each IP address. Individual IP addresses are just that, literally a "virtual" group of 65535 ports that are specific to that IP address.

My server as 10 ip's, I run 10 servers, one off each IP address, each using port 27015.

If you only have ONE IP ADDRESS, you will infact have to increment your port number for additional servers. ie: 27016, 27017 etc..

X

Well I'm glad that it works for you. I simply posted what happened in my expierences. When using 27015 for 2 servers running on different IPs, it would always time out.

I figured it was possible, but I figured I'd go with what I knew rather than what I guessed.

Glad someone corrected my mistake.
Reply
#10
XARiUS Wrote:
RattleSoft Wrote:You can't, as far as I know, have 2 servers running on 27015 on one machine.

What you could do is run 1 or 2 virtual machines, these are completely seperate from your main system. You can tell one box to take IP2 and the other to have IP1.

But its not possible to have two ports, even on two IPs, on the same machine.

I'm sorry for bumping an old thread, however this is entirely incorrect and I would hate to see people "learning" from this.

If your server/computer has multiple IP addresses, you can use port 27015 once for each IP address. Individual IP addresses are just that, literally a "virtual" group of 65535 ports that are specific to that IP address.

My server as 10 ip's, I run 10 servers, one off each IP address, each using port 27015.

If you only have ONE IP ADDRESS, you will infact have to increment your port number for additional servers. ie: 27016, 27017 etc..

X
I appreciate the response, i'm still looking for a solution.

When i force the IP and port it will still move the port up one, the computer simply won't let me use that port twice no matter which IP i assign it to.
I'm running winxp

Would you mind telling me how you were able to do this?

Thanks,
Kyle
Reply
#11
I went back to test it again, just to be sure, and yes it still does not work.

This is all on one box with 2 ports.

Server 5 Code
Code:
start /wait /high srcds.exe -console -autoupdate -game cstrike +sv_lan 0 -secure -tickrate 100 +map de_dust2 +maxplayers 40 -fps_max 300 +hostname "| Howie's CS:S | Original Maps | Server 5 | 100 Tic |"
After it is launched the IP is 10.10.10.48 and the port is 27015
Server 11 Code
Code:
start /wait /high srcds.exe -console -autoupdate -ip 10.10.10.55 +port 27015 -game cstrike +sv_lan 1 -tickrate 100 +map de_dust2 +maxplayers 11 +hostname "| Howie's CS:S | 5v5 | Server 11 | 100 Tic |"
After it is launched the IP is 10.10.10.55, but the port is 27016

The weird thing is that when i launch another server it works fine.
Server 12 Code
Code:
start /wait /high srcds.exe -console -autoupdate +ip 10.10.10.48 -port 27016 -game cstrike +sv_lan 1 -tickrate 100 +map de_dust2 +maxplayers 11 +hostname "| Howie's CS:S | 5v5 | Server 12 | 100 Tic |"
After it is launched the IP is 10.10.10.48 and the port is 27016.

Server 13 Code
Code:
start /wait /high srcds.exe -console -autoupdate +ip 10.10.10.48 -port 27017 -game cstrike +sv_lan 1 -tickrate 100 +map de_dust2 +maxplayers 11 +hostname "| Howie's CS:S | 5v5 | Server 13 | 100 Tic |"
After it is launched the IP is 10.10.10.48 and the port is 27017

Server 14 Code
Code:
start /wait /high srcds.exe -console -autoupdate -ip 10.10.10.55 +port 27017 -game cstrike +sv_lan 1 -tickrate 100 +map de_dust2 +maxplayers 11 +hostname "| Howie's CS:S | 5v5 | Server 14 | 100 Tic |"
After it is launched the IP is 10.10.10.55 and the port is 27017

So it looks like the only problem i'm having is with 27015. let me know if anyone can solve this.

Also that solved my initial problem of being limited to 5 public slots per server, it looks like i can go all the way up to 9.

Thanks,
Kyle
Reply
#12
Just curious, what are the specs of your server?
Also just noticing, for the one that doesnt work, you are saying "+port 27015" All of the .48 ip address use "-port 27017". Then again, the server 14 uess "+port 27017" and it works fine. Just it might make a difference. You could always try a different port for the one that doesnt work. Just try 27016.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#13
Indeed, replace the + with the - on all your servers and it should work fine.

+ is executing it as a CVar, which is slower than -, it (tries) changing the port AFTER assigning one itsself
- is executing it as a startupcommand meaning that it will start on that specified port immediately!
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#14
Ah, I didnt know that.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)