1

Topic: Need to change Server IP, HOW? :s

Hey,
I got told that I have to change my IP address for my server, in order to get them online. I have never done this before and i have always used my local IP address for my servers (because it comes up as that automatically)
But still other people were able to play on my servers until now. I made another server, (zcatch) but other people cannot find my server, i cant either, i have to type in the address to connect to my server. I asked my buddy Broken waht was wrong, because he helped me a lot with setting up servers. And he told me that i gotta have another IP starting like... 121.75...
But how do I do this? Please Help :)
Whoever Helps me gets a reward ;)

Recoil32

2

Re: Need to change Server IP, HOW? :s

I don't understand why you would need to change IP. You just need to have your IP registered on the masterservers, why would it be filtered out?

Not Luck, Just Magic.

3

Re: Need to change Server IP, HOW? :s

You don't need to change the server ip for each of your servers,
but to change the ports and also forward all of them.

Btw you need to use your external ip, not your local oO

4 (edited by Recoil32 2012-01-21 14:04:44)

Re: Need to change Server IP, HOW? :s

That's what I mean, I gotta use an external ip. But i am using my local ip. How do I change it to external, what do i need to go through?

Recoil32

5

Re: Need to change Server IP, HOW? :s

Took a quick look at server hosting again,
and it seems you don't need to care about your ip, the server should listen to your external, too.

Just make sure you run your second server at a different port, and that it is forwarded properly

6 (edited by Recoil32 2012-01-21 14:33:47)

Re: Need to change Server IP, HOW? :s

Yes, my server should listen to the external ip, but how do i make it go on external, cause its not at the moment... I have all my servers on different ports, the one i got problems with right now is on 8301 and the ip is 192.168... Which is my local ip...

My question is, How do I make my server run on the external ip?


I'm very sorry if i didnt understand something properly (my emglish isnt the best...)

Recoil32

7

Re: Need to change Server IP, HOW? :s

Ok, I'll try to explain it properly.

You are connected to the internet through your router/modem. The router gets one IP address from internet provider. But since every computer needs its own address, all computer on your network have a local IP address (192.168... usually) that is only valid in your local network. In order for your servers being reachable from the internet you have to tell your router to send stuff that comes to the public IP on port 8303 to your computer. You should be able to set this somewhere in your router. Should be called something like "Port Forwarding". If you don't know how check out http://portforward.com/
As sson as you forward that ports your servers should appear in the serverlist and you don't need to know the public IP yourself. If you need to know it check http://checkip.dyndns.org/

I hope that helped.

8 (edited by Recoil32 2012-01-21 23:49:54)

Re: Need to change Server IP, HOW? :s

So, if I understood this right...
When i port forward, i have to type in the port i want to forward, choose protocol, and type in an IP address, I have always typed in my Local ip (192.168....etc.). But now im not sure if this is right, am i supposed to type in the external/public ip?

Im sorry, all this is quite new to me xP

Recoil32

9 (edited by Broken 2012-01-22 00:53:12)

Re: Need to change Server IP, HOW? :s

Hey buddy, no, you are correct, you forward the port to the local IP address.

(1) Make sure each port number you use is forwarded correctly (and none used twice)
(2) Make sure sv_register 1 is in the config
(3) Make sure you are running it with the right config file

If all of these are correct it's above my technical expertise. You should be able to look at the command window and see if it says some error or "server registered."

10 (edited by Recoil32 2012-01-22 03:29:34)

Re: Need to change Server IP, HOW? :s

By #3: "Make sure you are running it with the right config file"
Do you mean "autoexec.cfg" where all my server settings are at?
My batch file says: "Instagib Server.exe -f autoexec.cfg" without those ""
And I named it "Run Instagib Server.bat"
My autoexec.cfg contains "sv_register 1"
The port I am using for this server is 8301 and I am pretty sure I have forwarded this port correctly.
The command window says "No firewall/NAT problems found." (Sometimes it even says that twice...) and "Server registered."

And what is all the external/public ip talk about when I dont have to worry about that ._.

I'm so confused right now :3


Ohh, and I also tried to put that server on Favourites (I thought I could find it and join easier) but It didnt work :c

Recoil32

11 (edited by east 2012-01-22 10:07:49)

Re: Need to change Server IP, HOW? :s

When the teeworlds srv is not bound to an address (via sv_bindaddr) it will accept connections from anywhere. You are hosting your srv in a local network so you can connect over your local ip.

Recoil32 wrote:

Ohh, and I also tried to put that server on Favourites (I thought I could find it and join easier) but It didnt work :c

My Router forwards packets only if they come from the internet. You should connect to your local ip (in my opinion). Other people should find the server

12 (edited by Recoil32 2012-01-25 00:03:08)

Re: Need to change Server IP, HOW? :s

On all my other servers, people can connect (even though its ip is local), but this server (zcatch) noone can find it, neither can I, i gotta type in IP to connect to it

Well, I guess this Bug is gonna be unanswered for ever hmm

Recoil32