Raised This Month: $51 Target: $400
 12% 

27015 port problem with csgo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dyxL
Senior Member
Join Date: Jul 2010
Old 01-25-2018 , 13:30   27015 port problem with csgo
Reply With Quote #1

hello i have problem with 27015 port, im setting 27015 port but my server creating on 27016 port or sometimes 27023 etc ...

./srcds_run -game csgo -console -usercon +ip xxx.xxx.xxx.xxx +hostport 27015 -maxplayers_override 20 -tickrate 64 +mapgroup mg_active +map de_dust2 +game_type 0 +sv_setsteamaccount xxx

when i look netstat -nap | grep 27015 this is showing ;

tcp 0 0 127.0.1.1:27015 0.0.0.0:* LISTEN 22411/./srcds_linux
udp 47232 0 0.0.0.0:27015 0.0.0.0:* 22411/./srcds_linux

using debian 9

how can i solve this ?
dyxL is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 01-25-2018 , 13:34   Re: 27015 port problem with csgo
Reply With Quote #2

instead of
+hostport 27015
you can try
-strictportbind -port 27015

tell me if it works.
__________________
Zuby24 is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 01-25-2018 , 13:43   Re: 27015 port problem with csgo
Reply With Quote #3

Quote:
Originally Posted by Zuby24 View Post
instead of
+hostport 27015
you can try
-strictportbind -port 27015

tell me if it works.

no it doesnt work

status ;

udp/ip : xxx.xxx.xxx.xxx:27016 (public ip: xxx.xxx.xxx.xxx)
os : Linux


why netstat is showing 27015 port on running 127.0.0.1 and 0.0.0.0 is it normal ? this is not lan server
dyxL is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 01-25-2018 , 13:52   Re: 27015 port problem with csgo
Reply With Quote #4

Quote:
Originally Posted by dyxL View Post
no it doesnt work

status ;

udp/ip : xxx.xxx.xxx.xxx:27016 (public ip: xxx.xxx.xxx.xxx)
os : Linux


why netstat is showing 27015 port on running 127.0.0.1 and 0.0.0.0 is it normal ? this is not lan server
What is the output of this command:
netstat -tulpn | grep :27015
__________________
Zuby24 is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 01-25-2018 , 13:56   Re: 27015 port problem with csgo
Reply With Quote #5

Quote:
tcp 0 0 127.0.1.1:27015 0.0.0.0:* LISTEN 22411/./srcds_linux
udp 96768 0 0.0.0.0:27015 0.0.0.0:* 22411/./srcds_linux
dyxL is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 01-25-2018 , 13:59   Re: 27015 port problem with csgo
Reply With Quote #6

Try to restart your server.
And use -strictportbind -port 27015 instead of +hostport 27015
also clean your iptables.
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X
__________________

Last edited by Zuby24; 01-25-2018 at 14:01.
Zuby24 is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 01-25-2018 , 14:31   Re: 27015 port problem with csgo
Reply With Quote #7

Quote:
Originally Posted by Zuby24 View Post
Try to restart your server.
And use -strictportbind -port 27015 instead of +hostport 27015
also clean your iptables.
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X
this time its running with 27015 but cant connect to server, doesnt see online on steam favorites list and hlsw

very interesting oh ... i will lost my mind
dyxL is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 01-25-2018 , 14:35   Re: 27015 port problem with csgo
Reply With Quote #8

is +sv_setsteamaccount is set corect ?
Check console for errors now. Try to connect from console: connect IP and check your server console for errors
+ check if CS:GO Server ports are opened.
__________________

Last edited by Zuby24; 01-25-2018 at 14:35.
Zuby24 is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 01-25-2018 , 14:50   Re: 27015 port problem with csgo
Reply With Quote #9

Quote:
Originally Posted by Zuby24 View Post
is +sv_setsteamaccount is set corect ?
Check console for errors now. Try to connect from console: connect IP and check your server console for errors
+ check if CS:GO Server ports are opened.
yeah it is true

Connecting to public(xxx.xxx.xxx.70:27015) ...
Retrying public(xxx.xxx.xxx.70:27015) ...
.
.
.
.
Connection failed after 30 retries.

edit; server is running but port status is showing closed on port checker

Last edited by dyxL; 01-25-2018 at 14:51.
dyxL is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 01-25-2018 , 14:56   Re: 27015 port problem with csgo
Reply With Quote #10

Check if ports are opened.
After this you can install this *.sh file. Contains a lot of iptables rules for blocking against DDOS your cs:go server and open only needed ports. (tested on debian/ubuntu)
Link: https://sharebitz.net/index.php?/fil...r-csgo-server/
Enjoy!
__________________

Last edited by Zuby24; 01-25-2018 at 14:57.
Zuby24 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 22:43.


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