Server Support, new VPS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server Support, new VPS (
/showthread.php?tid=676305)
Server Support, new VPS -
SkyFlare - 04.06.2020
So, been a while since I messed around with a VPS....
AS I recall, with NFO Servers, you don't need to port forward, ill get that out of the way firstly.
I installed Xampp, apache and MySQL
Running Windows Server 2019
Announce 1
Lanmode 0 (tried 1 aswell)
Query 1
I even attempted to allow all tcp/udp connections on any port, that also didn't work.
MySQL connects to the DB on localhost(the server)
the gamemode starts up perfectly fine. no errors no mysql failure, loads up all the data
HOWEVER on my local PC, I type in the IP and Port 7777, and I get greeted with Retrieving Info.
It never displays the server, can't connect.
Anyone have any suggestions? I am about to attempt 2012 R2 Windows Server OS Install, ill update if that changes anything.
In my code, I am connecting like this.
Code:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_PASSWORD ""
#define MYSQL_DATABASE "testdb"
IN my Scriptfiles I have a mysql.cfg
Code:
HOST=localhost
DB=testdb
USER=root
PASS=
EDIT: Noticed I can't even ping the VPS IP, contacted them for support, this is stupid.
EDIT2: wow, Firewall needs to be disabled. lol, fixed it myself, NFO Support tells me it was a fault with my game server files 10/10 guys.