View Single Post
zo6zo6
Member
Join Date: Feb 2018
Old 01-11-2020 , 14:52   Re: hlstats deamon port
Reply With Quote #3

Quote:
Originally Posted by NomisCZ View Post
Hi,
just change the port in hlstats.conf and then check logs (don't modify run_hlstats ...).

PHP Code:
UDPOpening UDP listen socket on port XXXX ... ok 
Website only "renders" data from MySQL database, so it doesn't communicate directly with the daemon (only for reload command).

So allow UDP/TCP port XXXX in your firewall for certain IP addresses (eg. gameservers and IP of your webhosting).

PHP Code:
             WEB CONTROL
 
. . . . . . . . . . . . . . . . . . . 
 .                                   . 
WEB - - - - - - MySQL - - - - - - DAEMON - - - - - - SERVER
       DB                DB         LOG ADDRESS 
RCON 
HTTP/HTTPS: 80/443(TCP)
MySQL: 3306(TCP)
Daemon: 27500(UDP)
if i modify the port only on hlstats config then the daemon starts at 27500 and ignores the port i have set to hlstats config.
so the port is udp and that my main problem here. i couldnt run the reload command from the website because of the tcp forward instead of udp
zo6zo6 is offline