Server running on wrong port, can't access localhost:
#1

I've recently removed my server from frag.gs hosting as I'm looking to upgrade it to a better, offered host. Regardless, it seems to be running on the frag.gs port, even though there's nothing in regards of it in the server.cfg file. This is printed to the console as the samp-server.exe runs:

Code:
Started server on port: 8192, with maxplayers: 2 lanmode is ON.
And this is my server configuration:

Code:
echo Executing Server Config...
lanmode 1
maxplayers 2
rcon_password changeme11
hostname San Andreas Online
gamemode0 saonline 1
filterscripts
plugins crashdetect whirlpool sscanf streamer
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
gamemodetext SAOnline v1.0.0
mapname San Andreas
I've tried to access my localhost via SA:MP (localhost:7777) with the samp-server.exe running and the server shows offline for me. What should I do?
Reply
#2

Turn off lan mode and type (port 7777) to server.cfg
Reply
#3

Oh, thank you very much.
Reply
#4

Not typing a port in server.cfg sets a random one for you, remember not to forget that line...
Reply
#5

Actually not, the default port for SA:MP is not 7777 it is actually 8192, but nobody uses it
Reply
#6

Yeah, also when you add a new server to your favorites list without port, it adds 7777, so 8192 isn't used.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)