Full Version : Help needed with sever log on.
xmlspawner >>Scripting Support >>Help needed with sever log on.
<< Prev | Next >>
Crystal Jem- 07-20-2006
Hello and good evening everyone.
My nefew would liek to help me with my shard so i went and got a no-ip set it all up and i ave been loging in threw that since. but he tried and can not get past the connecting. can someone please tell me what i have blocking him?
heres the no-ip address if that helps relmofcrystalenchantment.no-ip.info
Thank you.
ArteGordon- 07-21-2006
check the firewall on your server machine and make sure that you are allowing the default RunUO port of 2593.
If you are using a router, you will also need to forward that port to your server machine.
You can check the port by going to http://www.whatsmyip.org/ and running the port scanner to see if your server port is accessible to the outside.
Then make sure that you have properly added your public server address to serverlist.cs
Also make sure that he is using Uogateway or Razor to start the client so that encryption is removed.
Crystal Jem- 07-21-2006

QUOTE (ArteGordon @ July 21, 2006 09:02 am)
check the firewall on your server machine and make sure that you are allowing the default RunUO port of 2593. If you are using a router, you will also need to forward that port to your server machine. You can check the port by going to http://www.whatsmyip.org/ and running the port scanner to see if your server port is accessible to the outside.
Then make sure that you have properly added your public server address to serverlist.cs
Also make sure that he is using Uogateway or Razor to start the client so that encryption is removed.

the web site says port closed. how do i open it?
ArteGordon- 07-21-2006

QUOTE (Crystal Jem @ July 21, 2006 09:28 am)

QUOTE (ArteGordon @ July 21, 2006 09:02 am)
check the firewall on your server machine and make sure that you are allowing the default RunUO port of 2593. If you are using a router, you will also need to forward that port to your server machine. You can check the port by going to http://www.whatsmyip.org/ and running the port scanner to see if your server port is accessible to the outside.
Then make sure that you have properly added your public server address to serverlist.cs
Also make sure that he is using Uogateway or Razor to start the client so that encryption is removed.

the web site says port closed. how do i open it?
do you have your server running?
If so, then you should check your firewall settings.
Open the control panel and look for Windows Firewall.
If you cant find it there, then open the Control Panel->Network Connections
Right click on your network connection to the outside and open the Properties.
Advanced->Settings->Exceptions
Then you can add the RunUO.exe server to the list of allowed programs.
Crystal Jem- 07-21-2006

QUOTE (ArteGordon @ July 21, 2006 01:33 pm)

QUOTE (Crystal Jem @ July 21, 2006 09:28 am)

QUOTE (ArteGordon @ July 21, 2006 09:02 am)
check the firewall on your server machine and make sure that you are allowing the default RunUO port of 2593. If you are using a router, you will also need to forward that port to your server machine. You can check the port by going to http://www.whatsmyip.org/ and running the port scanner to see if your server port is accessible to the outside.
Then make sure that you have properly added your public server address to serverlist.cs
Also make sure that he is using Uogateway or Razor to start the client so that encryption is removed.

the web site says port closed. how do i open it?

do you have your server running?
If so, then you should check your firewall settings.
Open the control panel and look for Windows Firewall.
If you cant find it there, then open the Control Panel->Network Connections
Right click on your network connection to the outside and open the Properties.
Advanced->Settings->Exceptions
Then you can add the RunUO.exe server to the list of allowed programs.
it says firewall off. the sever is and wes on when i checked the port.
ArteGordon- 07-21-2006
are you using a router? If so then you will have to configure it to allow that port to be forwarded to your server machine.

QUOTE
the sever is and wes on when i checked the port.

I dont understand what you are saying here.
Crystal Jem- 07-21-2006

QUOTE (ArteGordon @ July 21, 2006 01:52 pm)
are you using a router? If so then you will have to configure it to allow that port to be forwarded to your server machine.

QUOTE
the sever is and wes on when i checked the port.

I dont understand what you are saying here.
Sorry typo's get alot more when i have a 1 yr old that didn't sleep that well last night.
I was trying ot just tell you the sever is up and running so when i chacked the port it should have connecting it wasn't a no connect from not haveing the sever turned on.
ArteGordon- 07-21-2006

QUOTE (Crystal Jem @ July 21, 2006 01:35 pm)

QUOTE (ArteGordon @ July 21, 2006 01:52 pm)
are you using a router? If so then you will have to configure it to allow that port to be forwarded to your server machine.

QUOTE
the sever is and wes on when i checked the port.

I dont understand what you are saying here.

Sorry typo's get alot more when i have a 1 yr old that didn't sleep that well last night.
I was trying ot just tell you the sever is up and running so when i chacked the port it should have connecting it wasn't a no connect from not haveing the sever turned on.
ok, got it.
Crystal Jem- 07-21-2006

QUOTE (ArteGordon @ July 21, 2006 01:33 pm)

QUOTE (Crystal Jem @ July 21, 2006 09:28 am)

QUOTE (ArteGordon @ July 21, 2006 09:02 am)
check the firewall on your server machine and make sure that you are allowing the default RunUO port of 2593. If you are using a router, you will also need to forward that port to your server machine. You can check the port by going to http://www.whatsmyip.org/ and running the port scanner to see if your server port is accessible to the outside.
Then make sure that you have properly added your public server address to serverlist.cs
Also make sure that he is using Uogateway or Razor to start the client so that encryption is removed.

the web site says port closed. how do i open it?

do you have your server running?
If so, then you should check your firewall settings.
Open the control panel and look for Windows Firewall.
If you cant find it there, then open the Control Panel->Network Connections
Right click on your network connection to the outside and open the Properties.
Advanced->Settings->Exceptions
Then you can add the RunUO.exe server to the list of allowed programs.
I added RunUO RunUO.exe to my list of ok to connect but it still wont let the web page you gave me to check it on to connect same error 61
ArteGordon- 07-21-2006
post your serverlist.cs
What does the server console list as the addresses that it is listening on?
Crystal Jem- 08-07-2006

QUOTE (ArteGordon @ July 21, 2006 10:12 pm)
post your serverlist.cs What does the server console list as the addresses that it is listening on?

Can you tell me where to look for this? I took a few days off to cleer my head and now i'm a bit lost as to where to look for things lol
Also Good morning all
ArteGordon- 08-07-2006
Scripts/Misc/ServerList.cs
You will be able to see the actual addresses and ports being monitored by the server by looking at what is displayed in the console window for the server when you start it up.
Crystal Jem- 08-07-2006

QUOTE (ArteGordon @ August 07, 2006 01:49 pm)
Scripts/Misc/ServerList.cs You will be able to see the actual addresses and ports being monitored by the server by looking at what is displayed in the console window for the server when you start it up.

CODE
using System; using System.Net; using System.Net.Sockets; using Server; using Server.Network;
namespace Server.Misc
{
public class ServerList
{
/* Address:
*
* The default setting, a value of 'null', will attempt to detect your IP address automatically:
* private const string Address = null;
*
* This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP:
* private const string Address = "12.34.56.78";
*
* If you need to resolve a DNS host name, you can do that too:
* private const string Address = "shard.host.com";
*/
public static readonly string Address = null;
public const string ServerName = "RunUO TC";
public static void Initialize()
{
Listener.Port = 2593;
EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
}
public static void EventSink_ServerList( ServerListEventArgs e )
{
try
{
IPAddress ipAddr;
if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) )
e.AddServer( ServerName, new IPEndPoint( ipAddr, Listener.Port ) );
else
e.Rejected = true;
}
catch
{
e.Rejected = true;
}
}
public static bool Resolve( string addr, out IPAddress outValue )
{
if ( IPAddress.TryParse( addr, out outValue ) )
return true;
try
{
IPHostEntry iphe = Dns.GetHostEntry( addr );
if ( iphe.AddressList.Length > 0 )
{
outValue = iphe.AddressList[iphe.AddressList.Length - 1];
return true;
}
}
catch
{
}
outValue = IPAddress.None;
return false;
}
private static bool IsLocalMachine( NetState state )
{
Socket sock = state.Socket;
IPAddress theirAddress = ((IPEndPoint)sock.RemoteEndPoint).Address;
if ( IPAddress.IsLoopback( theirAddress ) )
return true;
bool contains = false;
IPHostEntry iphe = Dns.GetHostEntry( Dns.GetHostName() );
for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i )
contains = theirAddress.Equals( iphe.AddressList[i] );
return contains;
}
}
}

ArteGordon- 08-07-2006
this line

CODE
public static readonly string Address = null;

tells it to autoresolve your server ip address. Since you have a registered host name with one of the dns services, you should enter that name for the address instead.

CODE
public static readonly string Address = "whatever.the.name.of.your.host.is";