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
Nothing works i can’t make it online i can make it LAN but not public so my freinds can join =(=(=(
actually adjusting lan and internet basically is just the same with the exception if you’re planning on creating public server :
1. You’ll need to set up some port forwarding
2. Adjusting your firewall to allow access on the port specified in mangosd.conf and realmd.conf
3. Set your realmlist to use your dyndns address or your static ip address (public / external ip address that is static) :)
I can adjust teh realm for LAN and that but… so u mean that i can choose 5 wich is for Conf LAN i can make it public there? i can make a LAN but not so my freinds outisde can join
Glad to know that your server finally accessible from the internet :D
and you need to use muskar.servegame.org only in as your realmlist address (the mysql one)
>> I asked previously how to check what I adjused mySQL settings to, but I got not reply.
Which one ? the update command ? i’m sure i’ve replied to your question :)
# Fladdy
Could you tell me what’s the error message actually ? btw if you mean that you got mysql> prompt instead of success or similar words
that is usually caused because you didn’t use single quotes when inserting the sql query :)
p.s if you use my mangos release, you can just use reaper-x-mangos.bat and choose option #5 to edit your realm name and your realm ip
YAY WTFPWN it works =D
When i copy the command the error diseppeard but i only get ” ‘> ”
The database iam using:
Mangos 4629, ScriptDev2 150 with Silvermoon 18.5 and UDB 0.8 323 support 2.2.3
hope that was all =)
Is what you wrote.
And he asked what the error was.
# Reaper-X
ROFL, I see it in this very guide >.>
use realmd
update `realmlist` set `address` = ‘muskar.servegame.org’ where `id` =1;
I’m very sorry q: so it was that I should adjust it to, right? or ‘muskar.servegame.org:7000′?
- A sidenote:
Apache is now working successfully with the new port settings.
Hello again….
I didn’t get any reply from my post =(
My firewall is now off.
The Reaper-X account I made was deleted during the change from Silvermoon to Unified, where I forgot to restore character data after installing.
It is now created and mangosd.exe and realmd.exe are running.
I asked previously how to check what I adjused mySQL settings to, but I got not reply.
as for the apache httpd.conf … yes .. that’s the correct line :)
could you tell me what did you set your realmlist address to ? (in mysql) is it muskar.servegame.org ?
btw to make things easy, try disabling firewall first (you can adjust that later when you’re sure that people was able to connect to your server) :)
and then run the realmd.exe and mangosd.exe process and tell me when your server is ready
EDIT :
btw when i try to connect to your server using
Reaper-X (user)
test123 (pass)
i get the invalid message
EDIT OF LAST REPLY:
1. There was some serious progress. People can connect to my server now, but it doesn’t come further than ‘Logging in to game server’.
Any ideas?
1. I just did the following:
>> Port Forwarded port 7000 for Realmd.
>> Adjusted my firewall to give access to port 7000 TCP and 7000 UDP.
>> Adjusted realmlist.wtf to
set realmlist muskar.servegame.org:7000
>> Adjusted realmd.conf to
RealmServerPort = 7000
It’s still not working, what did I do wrong?
2. I would like to announce a few things that may have something to do with this.
My DNS host is configured to do the following:
> No, do not alias “*.hostname.domain” to same settings.
> Host with IP address
> TTL: 60s. Default dynamic DNS value
(I do have a dynamic external IP address).
Is this somehow incorrect?
My LAN IP address is not automaticly configured, I use a manual and static IP address.
This couldn’t have do a difference since I adjusted every setting about TCP/LAN IPs I know to this manual address, could it?
3. I adjusted these lines:
Listen 80
AND
ServerName localhost:80
to
Listen 81
AND
ServerName localhost:81
I hope this was the correct lines.
sorry, didn’t see your reply, Reaper-X
and thanks for the reply.
# Slacker6
What is your excact problem? It could be anything.
Is your realmd.exe running, is your mangosd.exe running? Are they telling you any errors? Is your realmlist.wtf adjused correctly? etc.
Please tell me the excact problem and what you did, and please if you have an error, look at the error log and tell me what it says.
# Muskar
No problem actually :)
as for your question, btw after you changed the realmd port into another value (in this case 7000) did you also change the realmlist.wtf to use that port ?
for example, right after editing the realmd.conf to use port 7000
you’ll also need to change the realmlist.wtf to use your new port
for example muskar.servegame.org:7000
that’s it :)
>> Secondly, muskar.servegame.org is supposed to represent and replace my external IP address.
Actually you’ll need to use that one if you’re going to allow people from the internet to connect to your server or else they’ll stuck at the connecting to xxxx (i assume that your firewall configured to allow access to that port)
>> make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down
If apache can’t bind to port 80, i’m sure there’s other program running in the background use the same port 80 too
the solutions to the above problem are (choose which one you prefer to use) :
1. Close the program that use port 80
2. Open httpd.conf and adjust apache to use another port for example 81
# Slacker6
Sure no problem i can try joining your server :D
# NickPugh
Unfortunately i rarely use IM program (and haven’t used msn since … erm .. i can’t remember it exactly lol)
btw i can ping your computer without problem, and if you’re still having the same problem try looking at my answer to Muskar question :)
LOL u nub, yes most DSL boxes have routers in them. wwww.portfoward.com is your friend, it probably has a guide for your exact router, look it up.
Reaper are u ever online on ur MSN! i sent u a post threw that but u havnt replyed or anything my problem is basically the same as every1 else’s. i dont have a router and i dont have a firewall except the Windows firewall which is turned off. so i figured i didnt need to port forward anything but i forwarded all the ports listed above. im not trying to make my server so any1 can play on it just me and like 2 friends. but if anyone can logon the realmlist is nickswow.no-ip.biz and the username is a and the pass is a. if anyone can login u r welcome to play but i will have to make u another account. reaper u can reply by Email which is Nicholaspugh@yahoo.com or post here but i really need some help please.
~~NOTE~~ is a dsl box a router. im not sure if it is or not??
Oh wait nvm. I cannot log into game server :(. Any help please?
Ok I have setup public WoW at. slacker6.no-ip.org. Account name test pass test. If you guys can logon tell me so I know it works. Right now it works on my PC finally but my desktop next to me does not work. But it also has a screwed up firewall. So please post a comment if you can log on. :D Thanks.
I am really sorry for the many posts in a row in your offline period, but I just come up with more questions..
Changing the forwarding port, from 3724 to something else, makes it impossible to play (Yes, I do change realmd.conf).
1. What if I just added a new port called realmd too, and kept the old one?
Did not work.
2. What if I haven’t changed my LAN IP from 192.168.1.13 to 192.168.1.136 as instructed on the MaNGOS forums?
I do not know. I still have the complete same connection to the internet, and it should have some effect somehow.
3. What if I changed the IP address in the hosts-file located in the ‘C:\WINDOWS\system32\drivers\etc’-folder under the server I added called muskar.servegame.org from my LAN IP address to my external IP address?
In a way, it seems like a thing to try. But…
First, The tutorial adviced strictly not to put the external address due to unknown consequences.
Secondly, muskar.servegame.org is supposed to represent and replace my external IP address.
And thirdly, I do not know which connections this file has to other programs or applications, so I have nothing to say.
What am I gonna do? I do not know what I can do to change this issue.
Nevermind, of some reason it all works again now (for ppl behind my router).
But people are still unable to connect to my server, I will try port 7000 again. If it doesn’t work, then I would like to know how to make sure I edited the realmlist in MySQL.
Hmm.. when I made the 7000 port instead of the 3427 port as I had before, the server went all down for everyone (no errors in either mangosd.exe or realmd.exe – but still “unable to connect” even for me).
- Hey! I just discovered that I used the wrong port before. It’s 3724, and not 3427 – that may have been the last standing reason to make people unable to connect (except maybe for the mysql realmlist settings), but I screwed the server up somehow, so it doesn’t matter >.>
I would like to know how I discover why I can’t connect to my server.
This is the line in realmd.conf:
# Default RealmServerPort
RealmServerPort = 3724
And as far as I’m concerned, this should be correct.
-ø-
does not exit, but I write it for it to undetect the html script form.
the <-ø-ESC-ø-> key*
#Reaper-X
1. And how was it I did that?
3. Yes, actually, and it was corrected, but now it tells me this when atttempt to start Apache2.2:
(OS 10048)A socket-adress may only be used once. : make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the key to exit.
Just wonder im from swe i saw u timezone ^^
Nope, Denmark, why?
Darn, doesn’t work, still “Unable to Connect” from the outside.
Ok srry for this off-topic question but.. Muskar are u from Swe?
Then I should of course forward port 7000 instead, right?
When i copy the command the error diseppeard but i only get ” ‘> ”
The database iam using:
Mangos 4629, ScriptDev2 150 with Silvermoon 18.5 and UDB 0.8 323 support 2.2.3
hope that was all =)
I will try to set it up public and see if you can connect sometime would that be ok reaper?
# Muskar
try setting the realmlist address to muskar.servegame.org first, also make sure that currently there’s no other software using port 3724 and you’ve port forwarded port 3724 :)
if you’re having problem with port 3724 (someone from UK previously having this problem)
you’ll need to open realmd.conf and replace port 3724 with another value like 7000 for example, and then restart the realmd.exe process
forgot to tell you this, i was able to ping your machine using the dns name you’ve provided
Ok sorry for the double post…but that internet deal is a big rip off lol. And I thought my internet was bad living 50 miles from nearest city. Ok I am going to explain my problem and see if maybe you can help me since your on :D. I set my LANIP in realmlist and inside the MySQL. Opened all the ports in firewall on all computers and networking box. But so far only me can connect to my realm and I have tried everything that I can find. Anything with a 127.0.0.7 or whatever value of numbers to my ip address…something I forgot?
# Slacker6
Could you tell me what’s the problem actually ?
hehe I am hoping eventually I will learn what my problem is with all the other comments, but I keep getting confused :S lol.
1. Actually if you want me / other to be able to access your server, you’ll need to use that DNS address first (which mean you’ll need to also set that one first as your realmlist in mysql) :)
2. Ah that’s probably because i’m currently offline because of my connection problem (perhaps you won’t believe me, if i’m saying that i pay a lot of money monthly to get an internet connection that can only be used at night although that is a fact)
http://www.reaper-x.com/2006/11/10/telkom-speedy-adsl-access-at-dial-up-speed/
3. Have you tried downloading the sample configuration and compare it with your httpd.conf ? because if php file can’t be parsed by the web server that mean there’s something missing at the loadmodule section :)
4. Actually i made that one in order for people to adjust the datadir properly (because most of the time they seem to be skipping this step) or else the mangosd process will close immediately ;)
5. You can edit it using this command :)
update `command` set `security` = '1' where `name` = 'addtele' limit 1;
the above example change the security level for addtele into 1 :)
and yes 0 = normal player
ADD TO REPLY:
1. Btw, if you can connect, then here is the login:
Account: Reaper-X
Password: test123
4. Could the location of mangosd.exe and mangos.conf have anything to do with this process?
As it says it can’t find the file in C:\Documents and Settings\USER\, but it is neither there it is located.
It is located at C:\Documents and Settings\USER\Desktop\ReaperMangos4651\ at the moment.
5.
This was the command to find all commands.
select `name`,`security` from `command` where `name` like ‘%%’;
But I cannot find the command to change it.
Sorry, it didnt show your reply, even after 2 times of refreshing the page.
1. Yeah you could.
In LAN, people can access it by 192.168.1.136, but I guess thats only for LAN as it’s my LAN IP adress.
My DNS host name is muskar.servegame.org, but it doesn’t work, only for me.
Maybe its the ports that are already used, I dunno.
Tell me if you need anything else.
I have it up running now, and for a few hours forth.
2. yeah I know q: but I’m still able to login before you get off, but I always reply at 18/6 pm in my time zone (GMT+1) so it happens to be 24/12 am to you.
3. I am experienced with php, and my issue is not to create my own website, but getting apache to work (in step 9) and getting http:\localhost\test.php to be displayed.
4. So you have to do option 4, after you changed the conf file to save it for mangosd.exe properly? I will try that.
No I did not use the previous release, then I would already know what to do in these steps.
5. Ok that worked.
Ok, now I know how to check it the level, but can you show me how to edit the security level?
And is level 0, normal players?
As far as I’m concerned, they start out with .start, .info etc. etc., it doesn’t show that?
I hope there will be comments today, or some time soon.
If I forgot to specify something before you can make a reply, please tell me what it is.
# Fladdy
Could you tell me are you using my mangos release or another release ? and could you tell me what is the error message ? :)
# Muskar
1. If it’s okay with you, i can try accessing your wow server :) (just tell me what is the realmlist name and also create a test account)
2. haha well actually that’s because i live in another timezone
3. actually it just a guide on how to setup your own webserver, but you’ll need to create the registration page by yourself (and you need to know about php) .. or you can also use a premade registration page that can be downloaded from mangos forum directly :)
4. Did you run the reaper-x-mangos.bat again and choose option #4 ? btw if you previously use 4629 release you can just simply copy the previous mangosd.conf into the 4651 directory since there’s nothing changed in mangosd.conf (and i’ll always make sure that if there’s anything changed i’ll post it directly on my release) :)
5. Ah .. you can see what GM level required in order to use specific command by looking at the command table, other than that you can also change it too
here’s an example on how to see the level required for specific command if you don’t have mysql client installed
1. go into command prompt
2. type :
2.1 mysql -umangos -pmangos -D mangos
2.2 select `name`,`security` from `command` where `name` like '%tele%';
btw here’s what the output from the above command look like :
+————+———-+
| name | security |
+————+———-+
| addtele | 3 |
| deltele | 3 |
| grouptele | 1 |
| lookuptele | 1 |
| nametele | 1 |
| tele | 1 |
+————+———-+
6 rows in set (0.00 sec)
the above example will show you the required level to use the tele command :) .. but of course you can change tele to another command to see the level required for anything you want :)
#Reaper-X
I knew that he had to edit the realmlist.wtf-file and he did.
What would happen if he got a copy of my ‘hosts’ file from C:\WINDOWS\system32\drivers\etc\ [where the last lines are modified to:
'127.0.0.1 localhost # Default LAN
192.168.ØØØ.ØØØ muskar.servegame.org # WoW Private Server' (with real numbers replaced with the Ø's)]?
I know this isn’t required from other internet accessable Mangos servers, so I doubt it.
A few things:
1. I would like to know how to test if the server is accessable from a computer that isn’t behind my router without having one.
If this is impossible, I have to get mates to attempt to log in each time.
2. It’s unlucky that each time I feel to post here, you have just gone to bed (or at least off this board), so it takes a while to get answers.
3. I would like an answer on my reply in ‘Installing and Setting up Apache 2.2 series with PHP 5 on Windows’ as I am trying to setup a register page, so my mates can register, without letting me know their password.
4. The mangosd.exe error was:
C:\Documents and Settings\USER>Desktop\ReaperMangos4651\mangosd.exe
DOTCONF++: failed to open file ‘C:\Documents and Settings\USER\mangosd.conf’:
No such file or directory
Could not find configuration file mangosd.conf.
5. I would like to know if you could administrate which commands each gm level could use. Do you know how to edit this?
I still need help i tried everthing but nothing works :( I canät change my realm as the image above i jusst got an error is it possible to do it public in a other way?
# Arez
Try changing the realmd port from 3724 into something else (7000 usually should do the trick) by editing the realmd.conf manually :)
btw this problem also occured to someone else who lives in UK and using cable connection although he don’t have firewall installed and conencted to the internet directly
# Muskar
actually if you set the realmlist into :
muskar.no-ip.org
you’ll need to tell your cousin to use that address too :)
as for mangosd.exe close immediately, i’d suggest you to run the mangosd.exe from the command prompt directly so you can see the error message ;)
Nvm, realmd and mangos, but now I have another problem.
My cousin (doesn’t live near me) wants to connect to my server. Is this possible ? (Because it says “Unable to connect” to him, and everyone here can connect).
It may because its only “set realmlist xxx.xxx.xxx.xxx” that works and not my “set realmlist muskar.no-ip.org” that works.
I enabled the 3427, 8085, 1400, 1401 and 80 ports to forward.
The server is online and can be reached from anywhere through my wireless internet connection (LAN).
BUT, when my cousin tries to connect, it just says Unable to Connect.
Would it work if he modified his IP to a Static IP identical to mine but with 1 different value in the last 2 digits (XXX.XXX.XXX.X##)? I haven’t checked if he did it right, but it doesn’t seem to work.
Any ideas?
One more question:
I would like to modify the values within ‘mangosd.conf’, but each time I do, and saved it, mangosd.exe immediatly closes (as if I didn’t modify the option 4 in ‘reaper-x-mangos.bat’)?!
I would like help with this. (Sorry if I double posted, I may have clicked while I wrote this)
Nvm, realmd and mangos, but now I have another problem.
My cousin (doesn’t live near me) wants to connect to my server. Is this possible ? (Because it says “Unable to connect” to him, and everyone here can connect).
It may because its only “set realmlist xxx.xxx.xxx.xxx” that works and not my “set realmlist muskar.no-ip.org” that works.
I enabled the 3427, 8085, 1400, 1401 and 80 ports to forward.
The server is online and can be reached from anywhere through my wireless internet connection (LAN).
BUT, when my cousin tries to connect, it just says Unable to Connect.
Would it work if he modified his IP to a Static IP identical to mine but with 1 different value in the last 2 digits (XXX.XXX.XXX.X##)? I haven’t checked if he did it right, but it doesn’t seem to work.
Any ideas?
One more question:
I would like to modify the values within
I already fixed it with the ‘lazy method’ described here:
http://www.mangosproject.org/forum/index.php?showtopic=11737
No idea why the other method does not work for me.
Reaper, a big thanx for putting together the mangos releases.
Reaper… So far so good other then 2 days of trying to plug this together… Please send email reply if possible… trying to setup semi-private (open through internet/port forwarding to select ppl) i can get server up and running connecting locally. though lan will let me connect but not go past realm selection. I am using mangos 4651, MySQL 6.0, and SQLyog to edit the data (for some reason the cmd prompt will not work for me no matter what i try (or how many times i re-install after wiping it out) from local machine runs perfect.
Ports forwarded: 8080, 8085 (default wow port, 3724
signed up at no-ip.com for internet forwardinginto my router (this is what i have placed in the realmlist.wtf) work on local (as it should) but to no avail no others (including myself on one of my few lan terminals) the best i can get is stuck at realm… I must be retarded (i am not that fluent in this type of databasin/scripting. Im sure i am missing something small….
btw… no firewall installed. Im puzzled…
thank you
Hello…. i got problem with update my realmlist in CM to make my server online all i get is a sound from my computer and a error…
plz help me =)