Have two VPS. Both have a fully open iptables config.
http://radio.teamsij.com/sb_debug_connection.php
The IP defined in the connection debug script is on my game server box and the script itself is hosted on my web server. I've tried everything to resolve this and I have no idea what to do next.
Connection refused (SourceBans to SRCDS)
-
- New to forums
- Posts: 7
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Jul 01, 2011 9:43 pm
Re: Connection refused (SourceBans to SRCDS)
"Connection refused" generally means that the destination port is closed. Do you have it connecting to the correct port for TCP? The default is 27015, but if you're running your server on a different port, you'll need to adjust this.
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: Connection refused (SourceBans to SRCDS)
Also add your gameserver ip to your remote mysql on your web hosting if you haven't already.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/
Re: Connection refused (SourceBans to SRCDS)
Edge100x wrote:"Connection refused" generally means that the destination port is closed. Do you have it connecting to the correct port for TCP? The default is 27015, but if you're running your server on a different port, you'll need to adjust this.
Code: Select all
root@absolut:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Code: Select all
root@stoli:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I have..=QUACK=.Major.Pain wrote:Also add your gameserver ip to your remote mysql on your web hosting if you haven't already.
Re: Connection refused (SourceBans to SRCDS)
Just reread my reply and forgot to mention that the server is running on 27015 like you had mentioned.
udp 0 0 66.150.164.33:26901 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27005 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27015 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27020 0.0.0.0:* 9655/srcds_linux
e:
With SourceBans you are supposed to define the default connection port, which is 27015. Even with the three other ports its using, there shouldn't be a connection issue given the fact that the iptables should be accepting every connection no matter what. I tried to test the port being open with telnet on my desktop and was getting connection refused as well.
udp 0 0 66.150.164.33:26901 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27005 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27015 0.0.0.0:* 9655/srcds_linux
udp 0 0 66.150.164.33:27020 0.0.0.0:* 9655/srcds_linux
e:
With SourceBans you are supposed to define the default connection port, which is 27015. Even with the three other ports its using, there shouldn't be a connection issue given the fact that the iptables should be accepting every connection no matter what. I tried to test the port being open with telnet on my desktop and was getting connection refused as well.
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: Connection refused (SourceBans to SRCDS)
Is the web server yours or are you renting a shared hosting account?
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/
Re: Connection refused (SourceBans to SRCDS)
UVClay, rcon uses TCP, so you need to check for TCP listen sockets and not UDP. If the only sockets that are open are the ones you quoted, this is your problem.