SRCDS Steam group


Ports aren't forwarded?
#1
I know there are THOUSANDS of threads similar to mine - however, I have read through and none solve my exact problem. I've successfully ran several severs before in my lifetime (in fact I even posted a tutorial). All of a sudden one day my router refused to allow anyone to connect to my server, so I reinstalled Windows, bought a new router and got everything back up and running. I've installed Apache fine and port 80 is running fine and forwarded, however, my SRCDS refuses to work.

I have a DDNS through the hostname "freddukes.homeip.net" which is also set up in my router so it is certain to hold my latest IP..

Typing: http://freddukes.homeip.net:80 in the url bar in a browser correctly displays my apache web server to others (when Apache is running that is) so I know nothing is blocking it.

I have no software firewalls on my computer, and even then, Windows FireWall has the ports opened to allow both SRCDS and Web servers.

I have a Belkin F5D8053uk router, and you can see the port forwarding below.

[Image: 2009-03-23_0132.png]

To prove my router firewall is off:

[Image: 2009-03-23_0134.png]

My local IP Is ".3"

[Image: 2009-03-23_0135.png]

I do have hostport set to 27016 and ip configured in server.

I've also tried DMZ to no prevail.

I hope that's all the information needed, thank you

-freddukes
Reply
#2
i had a similar issue b4 it was the port, i changed the port for server everything ran fine.
Reply
#3
Are you sure you only have one router?
Why is your subnet 192.168.1.0/24?
192.168.0.0/24 or 192.168.1.0/24 are default 99% of the time. (I don't think anyone defaults to 192.168.0.0/24 anymore but I still use it on the home network Toungue)
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#4
What is your startup line for the server?
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Reply
#5
L33t Wrote:i had a similar issue b4 it was the port, i changed the port for server everything ran fine.

I've tried the ports from 27015 to 27020 - still no luck with either of them

Mooga Wrote:Are you sure you only have one router?
Yep - 100% positive.

mooga Wrote:Why is your subnet 192.168.1.0/24?
It is? Are you seeing something I'm not? the subnet mask looks like 255.255.255.0 to me :S If you mean default gateway that's my Router's IP which is 192.168.2.1

hours after gaming Wrote:What is your startup line for the server?

I've not got it ATM, I can post when I get home... But I'm pretty sure it's something along the lines of:
Code:
E:/SRCDS/srcds.exe -console -game cstrike -tickrate 100 +map de_dust2
My IP and Hostport are assigned in the server.cfg with this command:

Code:
ip freddukes.homeip.net
hostport 27016
which has worked for me in the past...

I know the ports are correct because when I type "status" in the console the UDP/IP part says:

192.168.2.3:27016

So the hostport has been assigned. The IP is obviously my LAN IP since the server is on my LAN. Note: sv_lan is assigned to 0 as well.

-freddukes
Reply
#6
add +exec server.cfg Smile in startup line

eg... c:\srcds\srcds.exe -console -game "Counter-Strike Source" or cstrike +map de_dust -maxplayers BAH -port 27020 +exec server.cfg
Reply
#7
The server.cfg is DEFINITELY executing - I'm a programmer and I require server.cfg to execute for some of my programmes to execute. I also have echo lines in my server.cfg which execute... I forgot -maxplayers in my example above, that's also in the actual command line. Adding +exec server.cfg will not alter anything as it's already executing.

-freddukes
Reply
#8
Did you try -ip 81.104.254.48 in the startup-line?
Reply
#9
Yeah but that just gives me an error saying Socket error or something... I've not tried it lately but I have tried it before only to remember it failing.. I will try it when I get home though.. Thank you for the tip!

-freddukes
Reply
#10
Arjen Wrote:Did you try -ip 81.104.254.48 in the startup-line?

That's your external IP.

It will give you an error, while using it.

Use your local ip.
(192.168.2.xx)
Reply
#11
Okay I tried my local IP in the start up line and still nothing... Here is the exact startup line:

Code:
E:\SRCDS\srcds.exe -console -game cstrike -maxplayers 16 -tickrate 100 -ip 192.168.2.3 -port 27016 +map de_dust2

-freddukes
Reply
#12
Why do you run on port 27016?

Try with 27015 Smile
Reply
#13
realchamp Wrote:That's your external IP.

It will give you an error, while using it.

Use your local ip.
(192.168.2.xx)

True, made a little mistake ...
Reply
#14
This is strange!!!! I can telnet my server by typing:

telnet freddukes.homeip.net 27016

In the command prompt (requires telnet client if in Vista) which means it's accepting and listening to people fine... We're only blocked through CSS :S I'll try port 27015 but I've tried before

-freddukes
Reply
#15
I mistyped, that should have been "192.168.2.0/24"
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)