Cant connect to server [Debian]
#1

Hello!

Im trying to start server at my vps - debian x86. I started the server, its online, but when i tried to connect i get error message 'The server didn't respond. Retrying'. In log there is -

Код:
---------------------------------------
[17:03:50] Running Grand Larceny - by the SA-MP team

[17:03:50] ---------------------------------------

[17:03:50] Number of vehicle models: 173
[17:04:24] Incoming connection: myip:51022
The both versions are the newest on the server and my client.

I've installed the needed lib to run the server.
Reply
#2

Check server/client version. The connection reached the server, so that tells me that it probably isn't a firewall issue.
Reply
#3

I checked them 5 times. I also dont think that is a problem of the firewall. I runned the follow command to open the port, but without result i get the same error.

iptables -I INPUT 1 -p tcp --dport 7777 -j ACCEPT
Reply
#4

As vince said are you running the correct server version for your client. Because as he mentioned you have been seen to be connecting to the server and by default you dont need to allow connections for linux on a vps or dedicated server as all ports are open as default when trying to be loaded by the service.

One other thing which is worth checking is the server.cfg

Have to bound the server ip and port in there e.g.

bind 178.32.254.44
port 7777
Reply
#5

I check the version 6 times for now. http://prntscr.com/5ed28k

This is my server.cfg

Quote:

echo Executing Server Config...
lanmode 0
rcon_password aree
maxplayers 50
port 7777
bind server-ip
hostname SA-MP 0.3 Server
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

Reply
#6

What's the server IP and port?
Reply
#7

Maybe the server is outdated?

Or why you dont use centos ? or ubuntu ?
Reply
#8

Hello

Centos or Ubuntu doesn't matter. Debian is also UBUNTU (raw kernal version) all i can think of atm is the following:

iptables allow port 7777
bind serverIPgoeshere
announce 1 (server.cfg)
Note: if running 0.3z it sometimes requires the new variables from this patch on the server.cfg before allowing the server to run.

If you add me on skype i can help you after i return from university at 6PM GMT. I will find the problem via share screening with you or teamviewer.

My skype: SimplyFragHosting
Reply
#9

Hello, I'm going to try and assist you the best I can today.

I've had this problem in the past myself, but I was using a different OS. Maybe it might have the same fix. From what I found on my problem was that the files were not having enough permissions. So what you must do is, "chmod +x whereeveritslocated/samp-server", "chmod +x whereeveritslocated/samp-npc", and "chmod +x whereeveritslocated/announce"

Tell me if this solved your problem! I hope this helps.
Reply
#10

Thank you guys!!!

I added this to server.cfg
Quote:

iptables allow port 7777
bind serverIPgoeshere
announce 1

And runned this commands

Quote:

"chmod +x whereeveritslocated/samp-server", "chmod +x whereeveritslocated/samp-npc", and "chmod +x whereeveritslocated/announce"

Thank you so much!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)