Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 06-02-2007, 07:08 PM   #1 (permalink)
Forum Novice
 
jumpnjahosofat's Avatar
 
Join Date: Jun 2005
Age: 31
Posts: 509
Send a message via MSN to jumpnjahosofat Send a message via Yahoo to jumpnjahosofat
Default Routers and connections for dummies. :)

This post is for all the people who are going to ask about getting your server set up so that other people can connect to it. There are countless posts on this topic. Maybe they are too hard to understand or maybe people are just not seeing the stickies. What I am going to try and do is make this as simple as possible for the networking impaired.

There are basically two ways to have a server connected to the internet. One is behind a router, the other is directly connected to the modem. I would say that the first is the more common way to have your server set up, so that is the one that will be addressed in this post.

Setting up the server behind a router.

Things to know:

1: The server's internal network IP address.

This is the IP address that the server is either given or the server aquires from the router. It is better that you have this set up as a static IP meaning that it does not change after rebooting the machine. The easiest way to give your server a static IP address is to find out what your server's current IP address is and use it for the static IP. To get your current IP address, go to Start-->Run--> and put "cmd" in the box.



This will open up a command window.



Type the command "ipconfig" and press enter. The window should now display something looking like the following.



Write down all the information!! You will need it all to set the static IP address. When you are done writing that information down, you can close the command window.

2: Your ISP's DNS numbers.

Using the information that you got from the ipconfig command, open a web browser and type the Default Gateway's IP address into the address box and press enter. This should bring you to the router's login prompt. If this hasn't been changed by the router's owner, one of the following combinations should get you logged into the router. The syntax is as follows: user : password

admin : admin
admin : password

Once you have logged into your router, click on the status button to get your DNS server IPs. There are usually 2 DNS servers: Primary and Secondary. Write them both down. It is a good idea to also write down the external IP address of your router. It will be the IP address that DOES NOT start with 192. If you don't see it now, just move on and I will tell you how to get it a little later.

Giving the server a static IP address.

Now that you have all the needed information, you are ready to set the server with a static IP address. Open up your network connections through your control panel. Right click on the network connection and select properties. This will open up your lan properties window.



Highlight "Internet Protocol (TCP/IP)" and press the properties buttone below. This will open up the tcp/ip properties window.



Put a check in "Use the following IP address" This will allow you to fill in all the blanks with the information that you wrote down previously.



After you have completed putting in all the information, click "OK" in the tcp/ip properties window and it will close. Click "OK" in the Lan Properties window and it will close. Your computer will now have a static IP address that will NOT change after restarting this computer. If in the future you wish to make it DHCP again, just go back to the tcp/ip properties window and put a check in the "Obtain an IP address automatically" spot.

Step 1. Setting up your router for port forwarding.

I only have two routers, so I can only go into great detail with those two routers. I have a Netgear and a Linksys router. As these are probably the most common routers in use, I guess this will help about 95% of the people trying to get there server running.

Using a Linksys router:

Step 1. Log into your router.
Step 2. Click the "Applications & Gaming" button.
Step 3. Make the following line in the Port Range section.



Application = A name you choose.
Start = port start range (2593)
End = port end range (2593)
Protocol = Both
IP Address = Your server's static IP address.

Step 4. After filling in all the blanks, press the "Save Settings" button.

This concludes the section on a Linksys router.

After finishing, go to the serverlist section of this post below.

Using a Netgear router:

Step 1. Log into your router.
Step 2. Click the "Port Forwarding/Port Triggering" button.
Step 3. Click the "Add Custom Service" button.
Step 4. Set it up as follows.



Service Name = A name you choose.
Service Type = TCP/UDP
Starting Port = Port start range (2593)
Ending Port = Port finish range (2593)
Server IP Address = Your server's static IP address.

Step 5. After filling in the blanks, press the "Apply" button.

This concludes the section on a Netgear router.

After finishing, go to the serverlist section of this post below.

Editing the Serverlist.cs file for connection.

Assuming that you have completed the tasks above, go to the website IP Chicken - What is my IP? Find Your IP Address! and write down your IP address. This is an external IP address that people will need to be able to connect to your server. They will not be able to use your internal IP address as it is a local only address. This is the IP to use.

Step 1. Open up the distro Serverlist.cs in the Scripts/Misc/ folder.
Step 2. Find the following line.

Code:
		public static readonly string Address = null;
and change it to:

Code:
		private const string Address = "your external ip here";
Step 3. Optional, you can name your server by replacing RunUO TC with your server's name.

This concludes the section on the Serverlist.cs changes.

Note: Not all Operating systems will open up a command prompt the same way. I did this using Windows XP Pro. If there are any questions about how this post or any changes that need to be made, please feel free to let me know. Add more to this if you wish.
__________________
It's the hardest questions that have the easiest answers. "Your name freaks me out - unknown"
jumpnjahosofat is offline   Reply With Quote
Old 07-05-2007, 12:26 AM   #2 (permalink)
Newbie
 
Join Date: May 2006
Age: 16
Posts: 30
Default

I do that but, it doesnt get passes verifying account when connecting to my external ip. I have it set to this in the serverlist.cs
private const string Address = "71.226.64.67";
culpress is offline   Reply With Quote
Old 07-05-2007, 02:11 AM   #3 (permalink)
Forum Novice
 
jumpnjahosofat's Avatar
 
Join Date: Jun 2005
Age: 31
Posts: 509
Send a message via MSN to jumpnjahosofat Send a message via Yahoo to jumpnjahosofat
Default

I logged right into your shard using that IP. Apparently you got it working!
__________________
It's the hardest questions that have the easiest answers. "Your name freaks me out - unknown"
jumpnjahosofat is offline   Reply With Quote
Old 07-16-2007, 01:14 AM   #4 (permalink)
Forum Newbie
 
Join Date: Jul 2007
Posts: 3
Default

I need a little help...I tried connecting to my router by entering the Default Gateway's IP address, but it just gives me a "Page cannot be found" message. Is there any other way I can connect to my router? Or is there something I can do?
Thanks in advance
Azuros is offline   Reply With Quote
Old 07-16-2007, 10:18 AM   #5 (permalink)
Forum Expert
 
Join Date: Jun 2007
Posts: 367
Default

Quote:
Originally Posted by Azuros View Post
I need a little help...I tried connecting to my router by entering the Default Gateway's IP address, but it just gives me a "Page cannot be found" message. Is there any other way I can connect to my router? Or is there something I can do?
Thanks in advance
Well its usually 192.168.1.1 but since it doesn't let you log into that for some reason maybe your router gives a different IP Address for it once you bought it. Maybe try looking for the ip address on your router as most routers write the ip address & username/PW that come default with the router unless someone else other than you messed with them.
__________________

Shard Name: MurDeR Go RounD
Shard IP: Murdergoround.servegame.com
The Ultimate PvP Deed
Flats is offline   Reply With Quote
Old 07-16-2007, 10:27 PM   #6 (permalink)
Forum Novice
 
jumpnjahosofat's Avatar
 
Join Date: Jun 2005
Age: 31
Posts: 509
Send a message via MSN to jumpnjahosofat Send a message via Yahoo to jumpnjahosofat
Default

Quote:
Originally Posted by Azuros View Post
I need a little help...I tried connecting to my router by entering the Default Gateway's IP address, but it just gives me a "Page cannot be found" message. Is there any other way I can connect to my router? Or is there something I can do?
Thanks in advance
What kind of router are you using?
__________________
It's the hardest questions that have the easiest answers. "Your name freaks me out - unknown"
jumpnjahosofat is offline   Reply With Quote
Old 07-16-2007, 10:43 PM   #7 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Age: 20
Posts: 12,927
Default

This thread would be better off in the FAQ forum. I would ask a mod to move it there. It will get the attention it deserrves there.
__________________
Quote:
Originally Posted by madmadmax3 View Post
I didn't insult anyone dumpass
Anti-Basic is offline   Reply With Quote
Old 07-16-2007, 11:07 PM   #8 (permalink)
Forum Newbie
 
Join Date: Jul 2007
Posts: 3
Default

Quote:
Originally Posted by jumpnjahosofat View Post
What kind of router are you using?
It's an Allied Telesyn, if you need to know the model too, I'll post it.
Azuros is offline   Reply With Quote
Old 07-17-2007, 04:51 PM   #9 (permalink)
Account Terminated
 
Join Date: Jul 2007
Age: 21
Posts: 26
Send a message via MSN to XSlayerX
Default

i did all that and put my physical address in the serverlist.cs which was 67.140.xxx.xxx and now my client isnt working properly like it wont let me log into any shard i use connectuo btw if you could help meh id apperciate it greatly
XSlayerX is offline   Reply With Quote
Old 07-18-2007, 06:09 AM   #10 (permalink)
Forum Novice
 
jumpnjahosofat's Avatar
 
Join Date: Jun 2005
Age: 31
Posts: 509
Send a message via MSN to jumpnjahosofat Send a message via Yahoo to jumpnjahosofat
Default

Quote:
Originally Posted by XSlayerX View Post
i did all that and put my physical address in the serverlist.cs which was 67.140.xxx.xxx and now my client isnt working properly like it wont let me log into any shard i use connectuo btw if you could help meh id apperciate it greatly
Changes that you make to your own server should not effect you connecting to other servers. The RunUO server on your computer is not used at all while you are playing on another server so none of the files would be in use. Maybe there is something wrong with your client?
__________________
It's the hardest questions that have the easiest answers. "Your name freaks me out - unknown"
jumpnjahosofat is offline   Reply With Quote
Old 07-18-2007, 06:14 AM   #11 (permalink)
Forum Novice
 
jumpnjahosofat's Avatar
 
Join Date: Jun 2005
Age: 31
Posts: 509
Send a message via MSN to jumpnjahosofat Send a message via Yahoo to jumpnjahosofat
Default

Quote:
Originally Posted by Azuros View Post
It's an Allied Telesyn, if you need to know the model too, I'll post it.
The model number would help. I have personally never heard of that type router. I would have to look it up on the net and see if there is something about port forwarding available there. You could probably do the same though.
__________________
It's the hardest questions that have the easiest answers. "Your name freaks me out - unknown"
jumpnjahosofat is offline   Reply With Quote
Old 07-18-2007, 09:12 AM   #12 (permalink)
Account Terminated
 
Join Date: Jul 2007
Age: 21
Posts: 26
Send a message via MSN to XSlayerX
Default

ok detailed information on my problem

i have speedstream issued by windstream model 4200 series

i port forward 2593 to ip 192.168.254.1

i add my physical address in the private address line in serverlist.cs
add 192.168.254.1 to public ip string

i have no secondary routers on my computer this computer is the only one in my house.i have no firewalls enabled,


if you have help for me beyond this point ur a god lol
XSlayerX is offline   Reply With Quote
Old 07-18-2007, 09:14 AM   #13 (permalink)
Account Terminated
 
Join Date: Jul 2007
Age: 21
Posts: 26
Send a message via MSN to XSlayerX
Default

PS

client worked connecting too my shard before i edited my settings with connectuo

i edit setting with connectuo and my shard goes active then i cant connect
if you have a hotmail address and instant messanger and would help me that would be great but if you dont. than i would still like you too post your best answer.
XSlayerX is offline   Reply With Quote
Old 07-18-2007, 10:58 AM   #14 (permalink)
Forum Expert
 
Join Date: Jun 2007
Posts: 367
Default

Quote:
Originally Posted by XSlayerX View Post
i add my physical address in the private address line in serverlist.cs
add 192.168.254.1 to public ip string
Thats your problem right there.....
Your going to need to add your external IP Address (The One That People Will Use To Connect To Your Server. Not The One That Was Assigned To Your Computer By A Router. To Get Your External IP Go To IP Chicken And Put The IP Address They Give In The Serverlist.cs File.
__________________

Shard Name: MurDeR Go RounD
Shard IP: Murdergoround.servegame.com
The Ultimate PvP Deed
Flats is offline   Reply With Quote
Old 07-18-2007, 07:45 PM   #15 (permalink)
Account Terminated
 
Join Date: Jul 2007
Age: 21
Posts: 26
Send a message via MSN to XSlayerX
Default

lol thank you that fixed it for now...until i discover anthor problem
XSlayerX is offline   Reply With Quote
Old 07-19-2007, 12:28 AM   #16 (permalink)
Forum Expert
 
Join Date: Jun 2007
Posts: 367
Default

Quote:
Originally Posted by XSlayerX View Post
lol thank you that fixed it for now...until i discover anthor problem
Your Most Certainly Welcome
__________________

Shard Name: MurDeR Go RounD
Shard IP: Murdergoround.servegame.com
The Ultimate PvP Deed
Flats is offline   Reply With Quote
Old 07-23-2007, 03:12 PM   #17 (permalink)
Forum Newbie
 
Join Date: Jul 2007
Posts: 3
Default

After some messing with stuff, I've finally been able to get to configure my router, but now, I have some questions that could use some clearing up.

First...do I port forward my external IP address? or do I port forward my private IP address?

Second...once it has been port forwarded, with RunUO2.0, how should the line read after I edit it to include my IP address?

and third...in the serverlist.cs, do I put in my external IP, or my private one?

Thanks to anyone who helps ^_^
Azuros is offline   Reply With Quote
Old 07-23-2007, 08:04 PM   #18 (permalink)
Forum Expert
 
Join Date: Jun 2007
Posts: 367
Default

Quote:
Originally Posted by Azuros View Post
After some messing with stuff, I've finally been able to get to configure my router, but now, I have some questions that could use some clearing up.

First...do I port forward my external IP address? or do I port forward my private IP address?

Second...once it has been port forwarded, with RunUO2.0, how should the line read after I edit it to include my IP address?

and third...in the serverlist.cs, do I put in my external IP, or my private one?

Thanks to anyone who helps ^_^
1-You forward the ports to your computer

2-Dont understand sorry

3-You put your external IP
__________________

Shard Name: MurDeR Go RounD
Shard IP: Murdergoround.servegame.com
The Ultimate PvP Deed
Flats is offline   Reply With Quote
Old 07-23-2007, 08:54 PM   #19 (permalink)
Forum Expert
 
Kheldar's Avatar
 
Join Date: Dec 2005
Posts: 442
Default

the screen will read the comps computer because it reads it from the computer thats why u have to put the actual one in the serverlist because the server can only detect the computers ip not your actual however if you use fixits serverlist it will read actual but fixits has some bugs with it when it attempts to find your ip so id just do it the way they list here
Kheldar is offline   Reply With Quote
Old 07-31-2007, 08:43 PM   #20 (permalink)
Lurker
 
Join Date: Jul 2007
Age: 23
Posts: 2
Default ;/

What abouth DMZ Hosting in Linksys ??

when i have done all from this i dont have avivable my static ip to another programs, for example ftp.


I have Linksys, Firmware: 1.45.3
When i start server with DMZ Host then loging is stoping on connecting after chose server ! and when i starting without dmz host then server work but i cant use rest my apl

what i have to do plx help

plz help me how to do working serwer on my linksys router ;/

God bless sry for my bad eng
BuuBuu is offline   Reply With Quote
Old 08-05-2007, 02:33 PM   #21 (permalink)
Lurker
 
kfstrong's Avatar
 
Join Date: Jul 2007
Age: 30
Posts: 3
Default

I configured port forwarding to my server and set the external IP address in my ServerList.cs, but I'm still having problems.

I have Wireshark running on my server and I can see the TCP packets coming from the PC I'm trying to connect with, but the server doesn't respond to them.

When I start RunUO, it shows the following:

RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2103 items, 542 mobiles)
Regions: Loading...done
World: Loading...done (91641 items, 1927 mobiles) (4.48 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Address: 127.0.0.1:2593
Address: 192.168.1.65:2593


Shouldn't the Address lines at the end show the change I made in the ServerList.cs? I'm using a domain name in the ServerList which resolves to 69.219.xxx.xxx, but RunUO still shows my private address. Does anyone else have this problem?

Thanks!
kfstrong is offline   Reply With Quote
Old 08-09-2007, 09:59 PM   #22 (permalink)
Lurker
 
Join Date: Aug 2007
Age: 33
Posts: 1
Default Connecting...

Hello all.
I am having some issues connecting to my server.
I can get the login screen, pas the credentials and then it just hangs on the connecting screen.

Server shows valid credentials, a connection, then an immediate disconnect.
I have tried locally and externally. Oddly enough my test server worked fine but this one I am having issues with.

I have a Linksys and did everything listed here but cannot even connect locally. My firewall has RunUO as a trusted appliaction, I can ping it fine but cannot connect to the game past the login screen.

Any help anyone can offer me will be greatly appreciated.
Kinghen is offline   Reply With Quote
Old 11-30-2007, 05:58 AM   #23 (permalink)
Newbie
 
Join Date: Nov 2007
Location: http://snoxduo.synthasite.com/
Age: 17
Posts: 45
Send a message via MSN to shivanna
Default

Woah.. This is awsome, thanks so much man. Im gonna try get my server online as soon as i get home! ^^
shivanna is offline   Reply With Quote
Old 12-02-2007, 10:09 AM   #24 (permalink)
Newbie
 
Join Date: Nov 2007
Location: http://snoxduo.synthasite.com/
Age: 17
Posts: 45
Send a message via MSN to shivanna
Default

Oh.. my netgear setup is different to this and it doesnt work..
shivanna is offline   Reply With Quote
Old 12-10-2007, 01:08 AM   #25 (permalink)
Newbie
 
used212's Avatar
 
Join Date: Apr 2007
Age: 29
Posts: 12
Default

NVM ... this is not cool :P not working for me
__________________
:p

Last edited by used212; 12-10-2007 at 06:41 PM. Reason: notimportantinforemoved
used212 is offline   Reply With Quote
Reply

Bookmarks