You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

freak.exe_uLow?

Professional

  • "freak.exe_uLow?" started this thread

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

1

Saturday, February 13th 2016, 9:05pm

Surf Server ändert einfach den Port

Hallo, bin momentan am verzweifeln. Mein Surf Server hat eigentlich den standart Port 27016 nun ist der auf einmal 27017 auch wenn ich ein anderen Port nehme zB 27115 ändert er den irgendwann zu 27116 was ist das? Meine anderen Server bleiben nur der Surf Server ist betroffen. Hat jemand eine Idee woran es liegen könnte`?

Hoffe der ein oder andere kann mir da helfen, ansonsten schönen Abend noch.
mfg

Blacksilver

Intermediate

Posts: 298

Location: 127.0.0.1

Occupation: FISI

wcf.user.option.userOption53: Nein

  • Send private message

2

Sunday, February 14th 2016, 1:58pm

Über ein Interface eingestellt oder über Startparameter?
evtl. etwas anderes über die vorgesehenen Ports laufen?
Come to the dark side,
we have cookies ;)

freak.exe_uLow?

Professional

  • "freak.exe_uLow?" started this thread

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

3

Sunday, February 14th 2016, 3:27pm

Naja denke es lag an redirect also den Server Jumper (teste es noch) momentan macht er es nicht. Werde später noch sagen ob es geklappt hat, trotzdem danke schon mal für die Hilfe.

Webinterface habe ich nicht, momentan alles über PuTTy

Startparameter ist ganz normal.

Thema Porst...Nicht das ich wüsste, momentan sind es ja 3 Csgo Server (27015,27115 und 27415) und 1 Arma 3 Exile (2302) ^^

freak.exe_uLow?

Professional

  • "freak.exe_uLow?" started this thread

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

4

Monday, February 15th 2016, 11:55am

Das Problem besteht immer noch...der Port 27415 ist nun 27416 woran kann das liegen?

Meine Start.sh

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#VARIABLES
NAME="surf-server"
IP="MEINE SERVERIP" <--- Ip hab ich entfernt hier^^
MAP="surf_classics2"
MAXPLAYERS=40
PORT=27415
TICK=66
ADDITIONAL="+sv_pure 0 -debug"
############################################# ########
#DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING#
############################################# ########
echo "Starting $NAME"
sleep 1
screen ----S $NAME ./srcds_run -console -game csgo -usercon -disabletv -nohltv +map $MAP -ip $IP -port $PORT -tickrate $TICK -maxplayers_override $MAXPLAYERS $ADDITIONAL -autoupdate
###END### 

Bara

Professional

Posts: 834

wcf.user.option.userOption53: Ja

  • Send private message

5

Monday, February 15th 2016, 1:56pm

Mal mit lsof (oder andere Tools) gucken ob Port belegt ist?

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

6

Monday, February 15th 2016, 2:38pm

Versuchs mal mit

Source code

1
-net_port_try 1
als zusätzlicher Startparametern.
Selbe Problem hatte ich auch mal.

Greetz

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

7

Monday, February 15th 2016, 2:53pm

Das liegt an der dummen Eigenart, dass sich der SRCDS beim Start erstmal 4 Sockets (Ports) öffnet, auch wenn er diese später nicht alle benötigt. Am besten legt man via Script alle Ports jeweils mit einem Abstand von 100 fest. D.h. man könnte dann 99 Server starten, ohne Probleme mit den Ports zu bekommen.

Hier ein Beispiel wie man die Ports setzen kann.

Source code

1
2
3
4
5
6
7
port=$1
clientport=$(expr $port + 100)
tv_port=$(expr $clientport + 100)
steamport=$(expr $tv_port + 100)

ports="-port $port +clientport $clientport +tv_port $tv_port -steamport $steamport -strictportbind"
echo "$ports"

Steamport + 1 = VAC-Port soweit ich weiß.


Ausgabe:

Source code

1
2
./ports.sh 27015
-port 27015 +clientport 27115 +tv_port 27215 -steamport 27315 -strictportbind

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

8

Monday, February 15th 2016, 3:54pm

Source code

1
-strictportbind

Funktioniert soweit ich weiß in CS:GO nicht. Daher auch

Source code

1
-net_port_try 1

So sieht das bei meinen Servern aus:

Source code

1
2
3
-game csgo -ip X -port 27015 -net_port_try 1 -steamport 26091 +tv_port 27016 +clientport 27017 -autoupdate .....
-game csgo -ip X -port 27025 -net_port_try 1 -steamport 26092 +tv_port 27026 +clientport 27027 -autoupdate .....
usw.


Läuft seit ein paar Jahren so und das ohne Probleme.

Greetz

This post has been edited 3 times, last edit by "fluxX" (Feb 15th 2016, 4:38pm)


freak.exe_uLow?

Professional

  • "freak.exe_uLow?" started this thread

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

9

Sunday, February 21st 2016, 3:50am

Mhhh das Problem besteht immer noch, momentan ist es bei mein Bhop Server so und beim Surf Server...was flux als Befehl gegeben hat, hat auch nicht das Problem gelöst (leider)

Hatte das auch mal 3 tage am laufen gehabt, des öfteren musste ich sehen das er trotzdem den Port ändert. Später switcht er dann wieder automatisch auf den richtigen Port. Ganz komisch :melo:

Lacrimosa99

Intermediate

Posts: 275

Location: Leipzig

Occupation: IT-Systemintegrator

wcf.user.option.userOption53: Ja

  • Send private message

10

Tuesday, February 23rd 2016, 9:02am

Klingt eher wie belegter Port weil Prozess nicht sauber beendet.
Prozess beenden und dann paar Sec. warten, Ports schauen welche belegt (schauen ob Port freigegeben wurde) und dann wieder starten.




DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

11

Wednesday, February 24th 2016, 12:11pm

lsof -i -n
apt-get install lsof #falls nicht vorhanden
Dann bekommst du alle offenen Verbindungen angezeigt mit Prozessid.