RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

trying to connect to the public

Twlizer

Sorceror
You have to forward post on the DSL modem to your router then forward same port from router to computer then set computer with a static IP.

If you can do that it will work
 

KillerBeeZ

Knight
if they are, they are not blocking 2593 hence my first post...

Soteric, thanks... the results... Success: I can see your service on ***.***.***.*** on port (2593)
Your ISP is not blocking port 2593

Besides, I have tried several other ports anyway
 

Twlizer

Sorceror
well if you can see port on canuseeme I would bet its a setting not a blockage.

Try using port 80 for a test only you cant use that port perminately because its your web port but if it works on that port its your isp
 

KillerBeeZ

Knight
I am using RunUO 1.0.0 with client version 6.0.1.6


Code:
using System;
using System.Net;
using System.Net.Sockets;
using Server;
using Server.Network;
 
namespace Server.Misc
{
    public class ServerList
    {
        public const string Address = "75.88.**.**";
 
        public const string ServerName = "Pandora 2.0";
 
        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 )
        {
            try
            {
                outValue = IPAddress.Parse( addr );
                return true;
            }
            catch
            {
                try
                {
                    IPHostEntry iphe = Dns.Resolve( 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.Resolve( Dns.GetHostName() );
 
            for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i )
                contains = theirAddress.Equals( iphe.AddressList[i] );
 
            return contains;
        }
    }
}
 

KillerBeeZ

Knight
oh and they can indeed block port 80, at least any services running on my line from that port. I can search and surf the web just fine though...
canuseeme results for 80...

Error: I could not see your service on 75.88.***.*** on port (80)
Reason: Connection timed out
 

Twlizer

Sorceror
If they block port 80 you cant go on the web...

So what would be the porpoise of having internet?

Port 80 is what IE and GC use you cant block it and surf the web...
 

KillerBeeZ

Knight
it is blocked... yet I am on the web lol

I can send you my ip in a message and you can check for yourself if you like
 

Twlizer

Sorceror
Ever think its because your using IE to go to that website and the port is used?

Port 80 is default port for web

You can close port 80 or 110
 

Twlizer

Sorceror
I cant say or not if 2593 is block by the ISP but I can say port 80 isnt

Your single iss is imho is you haven't forwarded ports correctly or you haven't stup server correctly
 

KillerBeeZ

Knight
it was set up exactly how you described, and I posted my serverlist

I'm not really new to RunUO and networking so I do believe I've made sure I didn't make any noob mistakes (but you never know)
(p.s. I don't use IE I use Firefox)

It is possible that my isp is blocking it tho, just not sure how or how to get around it.
 

Twlizer

Sorceror
It is very possible they could be blocking 2593 especially if you on a home based network. Usually the block this to increase revenue from home based networks so you have to pay a higher price from a business internet service. If you use Cox Communications I can guarantee you its blocked. Others im not sure you will just have to test...

I will say they cant block port 80 and most email ports just if using those ports make sure you email is closed as well as your Iexplorer. They will use those ports and block you from seeing them...

you can use a port scanner to verify which ports are open and closed..


I know this sounds simple but did you check you PC firewall settings?

You may also try setting your custom port/IP in the DMZ of your routers just in case..
 

KillerBeeZ

Knight
I know they are on 80... the thing is, I'm online and it states that port 80 is closed when I check it. After scanning I've found that only 2593 is open, and I think that is because I've got the server running on that port and thus manually opened it. I believe if I close the server and delete the port forwarding it will then show 2593 as closed. Is it possible that windows 7 has some sort of port stealth (like Zone Alarm)? Not that it really matters, cause I tried it on windows 2k as well.
 
Top