Raised This Month: $77 Target: $400
 19% 

[Connection Error] Server Connection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Who_er
Junior Member
Join Date: Jan 2013
Old 02-08-2013 , 09:18   [Connection Error] Server Connection
Reply With Quote #1

I am trying to get Sourceban (www.sourcebans.net) to be installed on my VPS. The firewall has been disabled, so all ports are open, yet it still gives an error.

Error connecting (108.48.199.203:27015) Help

The help link says:

Which ports does the SourceBans webpanel require to be open?
Submitted by Tsunami on Wed, 11/18/2009 - 14:20

If your web panel shows Error Connecting for your game server when it is actually online,
ask your web host to open UDP incoming from your game server port (usually 27015).

If either the RCON console, Admin Rehashing or Kick-It does not work on your web panel,
ask your web host to open TCP outgoing to your game server port (usually 27015).

Use this small testing script to get more detailed debugging information. Open the php file and add your gameserver's ip and port as described in the comments.

You should always check beforehand, if your gameserver banned your webserver's ip with listip in rcon. Remove it from the banned_ip.cfg and removeip IP via rcon.


I have checked the ip's to make sure that they aren't banned, which they aren't. The test script they have, which i ran, gives this:

[+] SourceBans "Error Connecting()" Debug starting for server 108.48.199.203:27015 (Server ip and port)

[+] Trying to establish UDP connection
[+] UDP connection successfull!
[+] Trying to write to the socket
[+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading...
[-] Error getting server info. Can't read from UDP stream. Port is possibly blocked.

[+] Trying to establish TCP connection
[-] Error connecting #110: Connection timed out

I don't know how to fix it, as i have tried everything.





Firewall is disabled on my VPS, does my shared hosting need to allow those ports?
Who_er is offline
Karower
Junior Member
Join Date: Aug 2012
Old 02-08-2013 , 10:35   Re: [Connection Error] Server Connection
Reply With Quote #2

telnet 108.48.199.203 27015
Trying 108.48.199.203...
telnet: Unable to connect to remote host: Connection timed out

Either your firewall is still on or your Host of your VPS is blocking the ports. Afaik you need to have UDP and TCP on port 27015 open for it to work.
Karower is offline
Who_er
Junior Member
Join Date: Jan 2013
Old 02-08-2013 , 13:24   Re: [Connection Error] Server Connection
Reply With Quote #3

108.48.199.203 is my server ip, not my vps ip.

Both UDP and TCP are open.

I have 27015 TCP
and 27015-27030 UDP

Do i need the webhost (aka. My website) to have those ports open, or my firewall to have those ports open?

VPS firewall: Disabled

Last edited by Who_er; 02-08-2013 at 13:28.
Who_er is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 02-08-2013 , 16:51   Re: [Connection Error] Server Connection
Reply With Quote #4

Quote:
Originally Posted by Who_er View Post
Do i need the webhost (aka. My website) to have those ports open, or my firewall to have those ports open?
Quote:
If your web panel shows Error Connecting for your game server when it is actually online,
ask your web host to open UDP incoming from your game server port (usually 27015).
__________________
DJ Tsunami is offline
Who_er
Junior Member
Join Date: Jan 2013
Old 02-08-2013 , 18:01   Re: [Connection Error] Server Connection
Reply With Quote #5

They ARE open.

Hi Chris,

I am not quite sure where the issue might be. We've exhausted our efforts here and sourcebans.net is not something is covered in the management tier you have. We have cleared all firewalls on both the VPS and the shared hosting server (where your web site lives) so I doubt that it is an IP / Port issue.

Regards,

Brad Mason
Big Brain Global Networks
www.bigbrainglobal.com
Who_er is offline
Faks
Junior Member
Join Date: Feb 2009
Old 02-09-2013 , 03:53   Re: [Connection Error] Server Connection
Reply With Quote #6

first of all to figure out where are problems we need following information.
Sourcemod Log Files .
Next sourcebans.cfg from configs/sourcebans.
Next databases.cfg from configs/
then it would maybe shed more light on this all right now it's obvious mistakes is somewhere there.
__________________
Visit Us ....
Gamer Ludus

Track Me
From Other Country's
From Latvia
Faks is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-12-2013 , 21:07   Re: [Connection Error] Server Connection
Reply With Quote #7

Quote:
Originally Posted by Faks View Post
first of all to figure out where are problems we need following information.
Sourcemod Log Files .
Next sourcebans.cfg from configs/sourcebans.
Next databases.cfg from configs/
then it would maybe shed more light on this all right now it's obvious mistakes is somewhere there.
The webpanel has nothing to do with gameserver configuration files.

OT: I'm unable to view your gameserver's information at all. Is it running?
__________________
Peace-Maker is offline
$n1p3r
Member
Join Date: Feb 2010
Old 09-09-2015 , 12:44   Re: [Connection Error] Server Connection
Reply With Quote #8

Problem solved by disabling iptables.

service iptables stop
$n1p3r is offline
Send a message via MSN to $n1p3r Send a message via Skype™ to $n1p3r
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 09-10-2015 , 15:25   Re: [Connection Error] Server Connection
Reply With Quote #9

Uh, you should configure a rule rather than disabling your firewall.
__________________
Peace-Maker is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:03.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode