Testing Server in Linux - 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: Testing Server in Linux (
/showthread.php?tid=509983)
Testing Server in Linux -
JoeMercury - 29.04.2014
I downloaded the windows client and all is well. I can play on other servers in my Linux. So I downloaded the Linux Server and made changes to my router UDP port forwarding on 7777.
This is how my config file looks (at present)
Код:
echo Executing Server Config...
lanmode 0
rcon_password <omitted of course>
maxplayers 10
port 7777
hostname GTA Test Private
gamemode0 grandlarc 1
filterscripts base gl_actions gl_property gl_realtime
announce 0
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
I execute from a terminal window ./samp03svr
I run the windows client and get this repeating:
Connecting to: 127.12.34.56:7777
Server didn't respond, retrying...
127.12.34.56 isn't even my IP address.
It appears to me that it is trying to run locally? as in 127.0.0.1
Once I get this working, I plan to test with an XP my buddy is running at his place.
Any help is really appreciated,
Joe Mercury
Re: Testing Server in Linux -
ColorHost-Kevin - 29.04.2014
Did you try the IP that came with your machine with port 7777? And see if it connects?
You can also bind your IP in the config
bind IP
Re: Testing Server in Linux -
JoeMercury - 29.04.2014
Ok got it working. I called my buddy up asked him to log in and he said he had no problem. That is when I realized something was wrong in my client and not the server. My blunder was the IP in the SA-MP was at fault. When I added the server in the GUI the IP was wrong. Damn tiny fonts! lol
I guess my next step is to see if I just want to just play around or get into serious database and scripting.
Thanks!
Re: Testing Server in Linux - Guest4390857394857 - 01.05.2014
make sure its port forwarded corrrectly!