SRCDS Steam group


Portforwarding problem
#1
Ok right now im stuck with alot of question.

When I portforward on my router it asks for the port and "Server ip". Someone PLEASE tell me how a server ip should look like, and is it the one i find on whatismyip.org?

And also, when I go to http://www.portforward.com under the "port list" do I just choose counter strike and thats all the ports I need?

And last question. How should my server command line look like? And how do I know which port to use on my command line. And also, which ip adress is supposed to be in the command line?

EDIT: If there is any chance that someone could give me instructions over skype or teamviewer it would be great.

Thanks!

Reply
#2
Depending on your setup, if your behind a NAT router you'll use your internal IP address, not your external. More than likely its like 192.168.1.2 or something similar. You'll use that IP address in your command line, not your external. The only time you'll use that external IP address is if you connect to the server from inside of CS or you have that IP address on your actual computer (inside of ipconfig).

And from the looks of that website, yes those are the ports you'll need to forward through your router to your internal IP address.

D:\path\to\srcds.exe -game cstrike -ip 192.168.1.2 -port 27015 -maxplayers 16 -console -autoupdate +map de_dust2 +exec server.cfg

This is an example of what command line you'll need to run.
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#3
(06-19-2011, 12:39 AM)CentralFrag Wrote:  Depending on your setup, if your behind a NAT router you'll use your internal IP address, not your external. More than likely its like 192.168.1.2 or something similar. You'll use that IP address in your command line, not your external. The only time you'll use that external IP address is if you connect to the server from inside of CS or you have that IP address on your actual computer (inside of ipconfig).

And from the looks of that website, yes those are the ports you'll need to forward through your router to your internal IP address.

D:\path\to\srcds.exe -game cstrike -ip 192.168.1.2 -port 27015 -maxplayers 16 -console -autoupdate +map de_dust2 +exec server.cfg

This is an example of what command line you'll need to run.

Thank you I will try this, and yes I am behind a NAT router.
Reply
#4
I did everything you told me to do but now when I use the command line it says "Couldn't allocate any server IP port" :S

Any ideas?

This is what my command line looks like;
C:\srcds\orangebox\srcds.exe -console -ip 193.213.112.4 -game cstrike +map de_dust -port 27015 -maxplayers 16 -autoupdate


Reply
#5
Are you running the server from the same computer your playing Counter Strike on? If you are the best situation would be to host it the server on another computer.

Try changing the -port 27015 to -port 27016 and see if that helps
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#6
(06-19-2011, 02:28 AM)CentralFrag Wrote:  Are you running the server from the same computer your playing Counter Strike on? If you are the best situation would be to host it the server on another computer.

Try changing the -port 27015 to -port 27016 and see if that helps

No I dont host and play on the same computer but they are on the same network tho. And I already tried changing the port to 27016 Sad Thanks for response anyways ^^ Any other ideas?
Reply
#7
Hmm not really sure. Try changing your server back to -port 27015 and inside of Counter Strike console try using these commands:

clientport 27006
hostport 27016
tv_port 27021

Maybe that will help
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#8
(06-19-2011, 02:51 AM)CentralFrag Wrote:  Hmm not really sure. Try changing your server back to -port 27015 and inside of Counter Strike console try using these commands:

clientport 27006
hostport 27016
tv_port 27021

Maybe that will help

I did when I was out of the server but I can't join my server because it exits after the "couldnt't allocate any IP" thingy. Does it need to happen while on the server? Cus nothing happened when I wasnt on
Reply
#9
Remove that -ip line from your startup command.
~ 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
#10
(06-19-2011, 09:40 AM)Mooga Wrote:  Remove that -ip line from your startup command.

The server works without the ip line in the command but then it's not on the internet :S Only on LAN

Reply
#11
And btw, I forwarded to the same ip that I had in the command line. Is that the right thing to do? And also, after the portforward, do I need to reboot my router?
Reply
#12
I've never had to reboot the router on any routers I've setup port forwarding on. Does the port forwarding website you linked in your first post say its working right?
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#13
(06-19-2011, 10:40 AM)CentralFrag Wrote:  I've never had to reboot the router on any routers I've setup port forwarding on. Does the port forwarding website you linked in your first post say its working right?

It should work the way I did it but apparently it doesnt :S And also, I tried to download the portchecker tool but I don't think its compatible with windows 7 or something :S Cus the installer won't load

Reply
#14
Do you have any sort of Windows Firewall running on the server?
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#15
(06-19-2011, 11:07 AM)CentralFrag Wrote:  Do you have any sort of Windows Firewall running on the server?

nop :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)