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!

Changing port on ip ??

Admin_V

Wanderer
Changing port on ip ??

just wondering if its possable to change port on ip ????

i found the server list but editing it seems to do nothing still looks for port 2593

area i edit is


e.AddServer( "Sojourn", new IPEndPoint( addressList[addressList.Length - 1], 2593 ) );

to

e.AddServer( "Sojourn", new IPEndPoint( addressList[addressList.Length - 1], 2594 ) );

is this wrong??
 
L

loupgarou

Guest
Bump: me too

i changed
e.AddServer( "The Darkside RunUO", new IPEndPoint( addressList[addressList.Length - 1], 2595 ) );

but I get:

Scripts: Compiling...done (0 errors, 0 warnings)
Warning: Tile matrix #2 does not exist.
World: Loading...done
Scripts: 283 items, 18 mobiles
Network: Listening on 127.0.0.1:2593
Network: Listening on 210.24.203.196:2593
Error:
System.Net.Sockets.SocketException: Only one usage of each socket address (proto
col/network address/port) is normally permitted
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Server.Network.Listener..ctor(Int32 port)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
 

krrios

Administrator
Ahh, thanks for pointing this out. Changing the port on the serverlist should work, but RunUO still tries to "listen" on 2593. I'll work on getting this fixed in beta3.
 

Admin_V

Wanderer
on beta4 still have problem with changing port ..
i get this now after i change this line

e.AddServer( "Sojourn Beta", new IPEndPoint( addressList[addressList.Length - 1], 2594 ) );

Scripts: Compiling...done (0 errors, 0 warnings)
World: Loading...done
Scripts: 393 items, 42 mobiles
Network: Listening on 127.0.0.1:2593
no errors but still cant change port and still cant connect on 2594

thnx
 
D

DSimmon

Guest
e.AddServer( "Sojourn Beta", new IPEndPoint( addressList[addressList.Length - 1], 2594 ) );

Listener.Port = 2594;

So will Listener.Port be a constant?
So we could write just
e.AddServer( "Sojourn Beta", new IPEndPoint( addressList[ addressList.Length - 1 ], Listener.Port ) ); ???
 
Top