Hosting server on a network: solution!

Newbie Spellweaver
Joined
May 8, 2004
Messages
31
Reaction score
0
I finally figured out how to make it work with a network. If you're on a network with 2 or more computers, the router that you're connected to gives you an internal IP address. For instance, my inside IP is 192.168.0.6 and/or localhost/127.0.0.1

Now to work around all this and for others to connect to your server, you have to set your internal IP to your external.

To do all this, if you're on Windows XP. Go into Control Panel and then Network Connections. You should see your network adaptor there. Right click on it and go to properties. Then you should see your network adaptor along with a list of things installed. Click on Internet Protocol TCP/IP and click on Properties. Next, you should see "Use the following IP address". Select that and down below it will select "Use the following DNS server addresses" automatically. This is where you need to open Command Promt and type in "ipconfig /all" (without the quotes). Then go back to TCP/IP Properties, load up Internet Explorer and go to and put the IP that it gives you into the "IP address:" field. For Subnet mask it should put that in automatically, 255.255.255.0. Next is your Default gateway, Preferred and Alternate DNS server's. To find these, go to the Command Promt you opened and typed "ipconfig /all" in, then scroll down till you see your Default gateway IP and enter that into the Default gateway field. Then below Default gateway you should see your DNS servers. The first one is your Preferred and the one below it is your Alternate.

Once you have entered all that in, click on Advanced. In the list of IP addresses you should see your external IP address that gave you. And down below you should see your Default gateway IP in that list. When I first tested this with just my external IP in the IP addresses list above Default gateways, it wouldn't connect to the internet at all. So the solution to that is I just put my internal IP address in that list with my external IP address. The reason you're putting this in there is so that you can connect to the internet using your internal IP and connect to your Map Center using your external IP. Now you should be able to connect to your Map Center and load your maps with your external IP and as well as others connect to you also. If you have any questions, just post here and I'll read it every so often. Hope this helps for you guys! Good luck!
 
Works perfect, thank you ;)

Also, make sure to edit your RmServer.ini file located in "C:\(Redmoon Server)\Bin\Config" to contain the external IP used.

I have tried this several times, but I've always been disconnected, I failed to realize that adding an internal IP to the advanced list will solve the problem.

Thank you ;)
 
Last edited:
when i put the ip to 24.150.166.197, subnet as 255.255.255.0, and default gateway as 192.168.0.1. what should i out as the DNS servers? when i ipconfig all, there is only one dns server and that is 192.168.0.1.
but anyways when i go to advanced, i have the ip address as 24.150.166.197, and when i try to connect to the net, it dosent work. so i added 192.168.0.1 there aswell, but again nothing happens when i connect to the internet.. any pointers?

when ipconfig all, it says my ip address is 192.168.0.101
default gateway 192.168.0.1
dns servers 192.168.0.1
what should i do?
 
try adding 192.168.0.1 as your dns server or leave it empty.
 
Doesn't matter if he has a dynamic IP or not, his ISP's DNS IP won't change. Even if it did change, the DHCP server will give him the new address when his machine requests an IP.

Unless he has a DNS server running on a machine with an IP of 192.168.0.1, then that address won't work.
 
I'm a little confused here .. if your xp unit or w2k for that matter resides behind a firewall
which the router is configured to obtain the dynamic address from your isp .. when the ip is flushed the router pretty much instantly refreshes itself to obtain a new static ip and it configures itself accordingly .. however... on the backside of the LAN .. the router is natting addresses whether static or dynamic ( it is understood the RM server should have a static assigned) and...

In the tcp/ip protocols settings where you referenced ... you're stating, we should configure your temporary ISP assigned static IP address to the RM server (?) as the primary ip address or the alternate one ?

If it is the primary then we should add natted static as the alternative to the tcp/ip protocol ... ? is this correct ? or ... is it the other way around or does it matter ?

I've added my current static isp assigned address under alternate .... does not seem to cause any tcp/ip conflicts so far .. however ... what would the subnet mask end up being ?

Mine defaulted to 255.0.0.0

And is there anything special that has to be done in the router / firewall to get this traffic through to the RM server pc?

My understanding is ports 10100-20100 .. is the presumed range of ports that have to be kept open for RM traffic .. have you found anything different on this one ?

Tx ... not many brain cells left for this one ...
 
I am having the same problem now that I switched routers.

My default subnet now becomes 255.0.0.0 and does not seem to work if I do the exact same thing I've done before.
 
Ok guys, I have talked to a friend of mine that has it working without the DNS servers. Just go back to Network Connections and double click on your LAN Adaptor and click on the Support tab, it should tell you your IP address, Subnet mask and Default gateway. 192.168.0.6 is my Internal IP that I put into the IP addresses area under Advanced. But from my experiences on DNS servers, I don't believe you have to put any in there. Just leave it blank if you don't have any DNS servers or put just one of them in there for your Preffered if you have one. It's just basically a set of trial and error. I hope it all works for you. Good Luck!
 
i fixed the problem before, it's i can't run the server off the external or internal IP, i can connect to both of the IP's, but no one else can...? is the issue ports?
 
If you can't get anyone to connect, then yeah your issue is the ports (if you haven't opened them yet). Try opening 10100-20100 and see if anyone can connect. Good luck!
 
At the risk of sounding redundant ...
Is the public ip assigned as the primary .. or the alternate
or does it matter
 
If you don't have any DNS servers under ipconfig /all then don't put any in there. But from testing it, I don't think you need any DNS servers in there.
 
i just need to know how to open ports? through my router right? i have a dlink, how should i go and open ports. walk thru anyone?
 
Back