m2server error [ Windows Socket Error ]

awadhero

EGYMIR Team Dev.
Golden Oldie
Mar 17, 2009
815
9
125
EGYMIR Lands
m2server error

i got this error in m2server when i changed my server ip

[22/03/2009 03:40:37 ã] Total Guilds:0
[22/03/2009 03:40:37 ã] Total Castles:1
[22/03/2009 03:40:37 ã] Windows socket error: The requested address is not valid in its context (10049), on API 'bind'
[22/03/2009 03:40:43 ã] Users Online: 0
[22/03/2009 03:40:43 ã] Windows socket error: The requested address is not valid in its context (10049), on API 'bind'


any suggestion to fix this porblem plz
ty
 

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
294
Re: m2server error

Yes... the IP you are changing it to is wrong. It basically cannot connect on that IP.
 
Upvote 0

awadhero

EGYMIR Team Dev.
Golden Oldie
Mar 17, 2009
815
9
125
EGYMIR Lands
Re: m2server error

but other gates are working on it rite
and i checked ip againe and its right in files
 
Last edited:
Upvote 0

Ri0N

Dedicated Member
Dedicated Member
Feb 16, 2009
67
0
33
Murton
Re: m2server error

Check the setup.txt in m2server. Right at the bottom theres about 5 IP's check them over. Put them to 127.0.0.1.
 
Upvote 0

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,332
7
145
Re: m2server error

make the IP 127.0.0.1 if your doing it offline, check all the I.P's are right, leave the 0.0.0.0 ip's
 
Upvote 0

awadhero

EGYMIR Team Dev.
Golden Oldie
Mar 17, 2009
815
9
125
EGYMIR Lands
shall i change 127.0.0.1 to my IP to let my server online cus i got errors in M2Server and DBServer gates when i wanted to change ip
soz but iam still leaning in server making
any 1 wanna help me in that
ty :(
 
Upvote 0

Ri0N

Dedicated Member
Dedicated Member
Feb 16, 2009
67
0
33
Murton
You only need to change about 3 or 4 IP's to your IP. If your using TD's files look for online.ini folders in your server files and look see which need changing.
2 in m2server i think and 1 in DBserver. and one in gamegate but thats internal IP.
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
When I was using TD's files. I just changed all the IP's to my own and they seemed to work fine.

If the 0.0.0.0 IP's are still failing to work just try it with all ur IP's
 
Upvote 0

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
!setup.txt
API bind on m2server caused by the GateAddr and MsgSrvAddr
Make sure the address is 0.0.0.0 you can also use 127.0.0.1 for security.

GateAddr=127.0.0.1 or 0.0.0.0 <-----------
GatePort=5000
DBAddr=127.0.0.1 or lan ip
DBPort=6000
IDSAddr=127.0.0.1 or lan ip
IDSPort=5600
MsgSrvAddr=127.0.0.1 or 0.0.0.0 <-----------
MsgSrvPort=4900
LogServerAddr=127.0.0.1 or lan ip
LogServerPort=10000
 
Upvote 0