This is the old guide, please read the new guide on how to create public world of warcraft server instead
This is the third part of the Creating your own World of Warcraft Server using Mangos
Okay … after taking a break for few days now i’m going to continue with the complete mangos configuration guide. And in this topic i’m going to tell you how to create public server … erm … i mean private server for lan party purpose (if you intend to create public server using mangos, that means you’re violating the mangos license agreement)
and to make thing shorter … let’s start the guide ;)
Requirements :
Note :
Here’s the summary of the process on how you’re going to do it :
Setting up WoW Server for LAN / Local Area Network :
First of all you need to know what is your lan ip address, especially if you’re using DHCP to automatically assign your ip address, and to do this first you need to open the command prompt window
Start Menu => Run => Type CMD
then type ipconfig like example below :

From the above image you can see that the ip address used was 192.168.3.3 so you’ll need to set up your realmlist to use that ip address so here’s how to use it :

Note : Don’t forget to adjust the 192.168.3.3 to use your lan ip address because i’m sure your lan ip address is different
And now we need to make sure that it is get properly written into the database so here’s how to check it

After done with the above process, now you just need to set your realmlist.wtf file in your WoW Game Directory (for example, C:\Program Files\World of Warcraft\realmlist.wtf) to use that ip address … and you’re done then the next step would be starting the mangos process and realmd process, and try connecting to your wow server from other computer in your network
Setting up for Internet / Accessible from anywhere :
Basically there are no actual differences between configuring wow to be accessible from LAN except :
Note : If you’re having problem on port forwarding / do not understand how port forwarding works, then i suggest you to visit this page
But what if you ran the realmd and mangos server on the same computer and you’re trying to connect to it (connect to the same computer where mangos and realmd process started) ? and yes i’m sure you want to play using this method if you only have 1 computer in your home like me
Then you need to follow this step :

your-lan-ip-address your-newly-created-dns-name
Please note, only invite trusted people to your wow server (for example your friends only) and do not attempt to create real public server unless you really know what you’re doing ;)
Well … that’s all about it … and at this time you should be able to get your friends to play on your server … unfortunately you still need to add your friends account manually which is not good for LAN Party Server
So for the next part i’m going to tell you how to set up webserver with php on your computer so your friends can register account easily ;)
Leave a response
@ JL
Mmph. They still work with this new IP. I don’t see what the difference is.
Plz help me.
i have created a server to my friend and brother, but they cant log on they can see the realm list but they cant log on, i have created account to them, so what is wrong??
still no replay pls guy i wish to host the server now not next year…
i have another porblem when i enter my ip address and press enter this come up:
ERROR 1054 (42S22):Unknown column `***.***.*.***` in `field list`….what should i do now??
BTW, when logging in from within the lan, I get in the redundant realm selection screens, the username and pword logs in fine. and it even shows I have a toon in there still.
~thanks,
Kipper
Hi Reaper,
Your tutorial work perfectly for me. Everything was working perfectly, I was on, locally, and another buddy from wan. Now my two friends can connect and get in fine from the wan, but I am unable to from behind the wan. I have the mangos server running on a separate box from my client, however both are behind the same router and on the same server. Any ideas here? I am not using a dnsname, just the static ip.
Thanks,
~Kipp
I think You should leave that address 127.0.0.1, cause the LAN IP goes to hosts file in windows, realmd.realmlist in mysql, and when You configure LAN with the .bat file. Every time i changed the line You wrote here with any other IP than 127.0.0.1, there was an error in realmd.exe, which could’t find the database. Hope i understand it well :) but even now i’m looking at a working realmd.exe, and it says 127.0.0.1, so that must be true.
Hi Reaper, I’ve used your guide many a time but I’m trying something different. I don’t have your files all set up.
If I edit the realmd config file to my:
LoginDatabaseInfo = “192.168.xx.xxx;3306;root;root;realmd”
Where 192.168.xx.xxx is my LAN IP. Can others connect from a LAN?
Cheers Reaper.
Thank You :) Yes, i gave up for a few hours, but now it’ll be up for some time. My friend just managed to get in finally, so it works, but i’d appreciate if You’d give me a second opinion. Tnx.
#jl
i tryed to log in but it keept connecting and never connected ;)
b d way i dont now if your server was down or not at this time: 15.20 (my time +1) that was the time i chacked
If anyone would like to check my connection, you can login on larkinium.servegame.org with account login test password test :) thank you
Hello, maybe someone can tell me. I just read ALL here about the ‘realm loop’, and problems with accessing the server from behind router, but none of it worked. I think this question still remains unanswered. What should i do to let my friend play on my server. I did everything that was posted here. She’s got realmlist edited properly, and i made her a working account. Please help, i’m sitting here too long ;]
ok my before post is solved tnx to old post but i have another porblem when i enter my ip address and press enter this come up:
ERROR 1054 (42S22):Unknown column `***.***.*.***` in `field list`….what should i do now??
have a problem when i go to change my reamlist and enter my ip address an error pops out :( and it says:
error 1064 (42000): you haev an error in your sql systax; check the manula that ‘realmlist’ set ‘address’ = ‘***.***.*.***’ where ‘id’ =1′ at line 1
dond mind my * just not to show my ip address thats all ;)
any help or sugestions that i must do or didnt do PLSS :)
#Huntard
BTW, how do u put thos items in the game??
#Huntard
LOL, ty,… ill check that out!!
so yh REAPER GIVE US A GIDE :)
thenx all….
still any 1 know about my dieing problem??
@peewee
hey, I’m still hoping reaper will make a guild for that that can help you more but all I know to do is to go to http://www.wow-v.com and you can create one there but I personally have no godly idea how to put it into the game
#Kezia
Thanx, Ill try tht when i get home, so let me get it strate its ` not ‘?
Thanx agen :)
Also if any 1 can anser, how do i put custom venders in?
And;
I equip sertin thongs and lern sertin things and i die :(, But i cant ress, i clich reiec but i just stay there and cant ress….
Thanx
Pee wee i had the same problem you used QUOAATION MARKS (’) where you should of used Tiles ` at ID
2008-01-13 14:32:42 World Database: 192.168.1.5;8085;mangos;mangos;mangos
2008-01-13 14:32:43 ERROR:Could not connect to MySQL database at 192.168.1.5: Can’t connect to MySQL server on ‘192.168.1.5′ (10061)
2008-01-13 14:32:43 ERROR:Cannot connect to world database 192.168.1.5;8085;mangos;mangos;mangos
can anyone help
When i do;
update ‘realmlist’ set ‘address’ = ‘(my ip is hire)’ where ‘id’=1;
i get a error mesige saying;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ”real
mlist’ set ‘address’ = ‘(my ip hire)’ where ‘id’=1′ at line 1
Can any 1 help me plz?
Hey reaper, we got the ip address back to the local, but now we dont know how to change the dnydns thing. We cant get to our “Realmlistdatabase”
Frea | Aug 21, 2007 at 21:07 / 9:07 PM | Links to this comments | Reply
Ive tried about everything and when i input the command use realmd it just keep giving me “ERROR 1049 (42000): Unkown database ‘realmd’.
how do i do that??
(sry a small mistake) and than your answear posted before
Reaper-X | Aug 21, 2007 at 21:32 / 9:32 PM | Links to this comments | Reply
that error message mean you havent created the realmd database yet :)
you can fix it by importing the create-database.sql (or other sql file with similar filename)
how do i do that??
Help plz i still cant connect Btw ur guide is great anyway reaper :p
Hi guys…
I followed all steps..
i really did everything… but if i start wow tpy my account name, pass.. i press enter and then a box says “Conecting” few moments later
“Unable To Conect” Plz help me !!
@happy_k
u mean mangosd?
yes.
i think u can do it in mangos.exe
open it with notepad n look after server name or somethink :P
by the way, is there a way to change the server name?
i have still the same problem i tryed out evry think but still nothink :(
as u said i seted back in realmd.exe the Ip from x-reaper.ath.cx to 127.0.0.1 n the end was that evry think work but im unable to connect the server :S (i seted in wow directory the realm file to x-reaper.ath.cx )
some tipps what shoud i do
happy_k
I am having a problem allowing other people to play on my server please could someone help me out i have tried what it says to do but I still do not understand very well as i am new to this.
Thanks
Jase
Hey sorry for posting so much reaper, but I have yet another problem/question >.<
Okay,
I opened the Hosts file and put both my LAN IP adress and the IP adress i get form whatismyip.com to what my server name thing is.
My friend was really exited because he got all the way to select a relam but he couldnt not *connect* to the realm
Is there an additional port forward I must do? And are hte ports UDP or TCP (something like that)
Thanks for the WICKED guide!!
The Huntard
Ok i done it i run realmd n it work well but when i set x-reaper.ath.cx in my realmd.wtf file n enter wow /try to log in it say im unable to connect that server. what shoud i do here? :P
# Golfkart and Happy_k
Ah it seems you didn’t do it properly based from your description :)
Database: x-reaper.ath.cx;3306;mangos;realmd
the above sentences mean :
you’re trying to connect to mysql server which is located at x-reaper.ath.cx on port 3306 which is obviously can’t be accessed (by default because it only allow 127.0.0.1 connect to it)
so to fix it :
1. change it back to 127.0.0.1
2. and change the ip address in your realmlist database to your dyndns address
btw if both of you using my mangos release, all you have to do is just run reaper-x-mangos.bat and then choose option number 5 to edit your realm ip address :)
p.s this post was written before i created my own repack lol
# Huntard
Actually it doesn’t matter, and you can choose any name you want :)
my realmist is
set realmlist nicksprivateserver.no-ip.biz
is that a correct one or does it have to be .com?
Oh thats right he sighned up and created a DNS using Dnydns.com
PS.
Do I need to register for no-ip.com enhanced in order to host?
It gives us the whole “Mysql does not allow/accept that type of DNS” so how do we get it to allow it?
Thanks once again for the guide Reaper, Its gotta take a LOT of work =p
Yp, pretty much exactly what we’re getting, but my sql still encounters the same problem I posted before.
i do the same think as u and realmd
say there is no MySql server on that (non-ip addres). n i dont know what to do next…
Reaper-X
What IP am I soposed to put as my realmlist? I went to no-ip.com and i made it forward to websight http://www.democ.com (don’t ask, not a real sight i think) and I have a realmlist
set realmlist democ.no-ip.info
what am I doing wrong? I cant get any friends to connect when they put that in their Realmlist.WTF thing…
# Reaper-X
that link won’t load for me. does that = my port is unaccessible?
also for to tell yall this im gettin an error in my realmd saying that it cant connect to database and some other crap i cant remember ill probly be on irc at around 5 or 6 pm or somthing if anyone desides to go there and help if not just leave a message here sorry for being rude its lack of sleep i really am sorry just need some help
and my name in irc is wikid as well
sorry for typos bad speller and lack of sleep
im really sorry iv been working on this for a lil over a month now and iv been up for about almost 2 days trying to figure this crap out and im a lil pissy so bear with me ok *sigh* where you have it in one of your blury pics to check the ip for the realmlist or what ever it says in the pic select = realmlist thing is that dont work i tryed select – realmist that didint work what in gods FORSAKEN NAME IS SUPOSED TO DO THERE CAUSE I CANT MAKE IT OUT ON THE PIC sorry again just a lil cranky O_O maybe if i could actualy talk to reaper or some one who knows how to do this imma go to sleep so im not so cranky if you have any one out there that has made there server has any mercy and has irc plz get ahold of me on irc and help me with this /server chat.elunacy.com #elunacy im not compleatly dumb so it wont be hard to help me im just like really about to throw my computer out the window O_O
Hi
i have the same problem as Golfkart
i Sign up with Dynamic DNS service onDyndns.com
with “X-reaper” name n when i ran realmd
its say:
Database: x-reaper.ath.cx;3306;mangos;realmd
could not connect to mysql database at x-reaper.ath.cx cant connect to MySql server at
`x-reaper.ath.cx`
cannot connect to database.
what shoud i do now?
Sorry for the re-post :( but I forgot to tell you the ports where in fact open =p
Alright cool, we ran that, and we also found a way to save his DNS and public ip to the host file, but now, he trys to run my sql, and he gets this message:
“Using configuration file realmd.conf. mangos realm /0.8-SVN Database; (Public ip);3306;mangos;mangos;realmd could not connect to my sql database at (public ip): host ‘DNS (not sure if I can post it)’ is not allowed to connect to this mysql server. Cannot connect to database. _
# Golfkart
Could you ask your friend to run online port scanner first (after running mangosd and realmd process) and see whether port 3274 is accessible or not ? :)
http://www.grc.com/x/ne.dll?bh0bkyd2
# nlax76
Could you also run the online port scanner too ? (above link) :)
Alright, so my friend has made a server and he can connect fine using his local ip. However, when we try to swich the realmlist to his public ip, we get the same “Unable to connect”
Now neither of us can change our host file with notepad, it gives us “Cannot create the file C:\Windows\System32\drivers\etc\hosts file. Make sure the path and file name are correct.”
Please help us out Reaper-X and thanks for the guide, its brought us all this way and this is our first problem =p