Creating Public Server for LAN Party – Setting up Private WoW Server

Please check the new version on how to create wow private server for better version. Besides the new guide list everything in a single page for easier reading

This is the third part of the Creating your own World of Warcraft Server using Mangos

  1. The First part is all about Installing and Configuring MySQL on your Windows Machine
  2. The Second part is about Configuring the WoW Mangos itself
  3. The Third part is all about Setting up Private WOW Server for Lan Party
  4. The Fourth part is all about Installing and Setting up Apache Webserver with PHP

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 :

  1. Working Mangos installation (really important)
  2. Knowledge on how to set up port forwarding from your router and your firewall software if installed, because each router have different configuration page (required if you’re going to host WoW Server behind router)

Note :

  • In this example the wow server process is located at virtual machine using 192.168.3.3 as the LAN IP Address
  • Im connecting from another virtual machine to that ip address
  • Mangos and realmd process must not be started first
  • This process can be used for both WoW Mangos TBC Server or Classic Server

Here’s the summary of the process on how you’re going to do it :

  1. Change the realmd.realmlist (realmlist table in realmd database) into your lan ip address or public ip address
  2. Set the realmlist.wtf to use that lan ip address
  3. Optional : If you’re going to host your wow server behind the router then you’ll need to set up port forwarding for port 8085 (World Server) and 3724 (Realmd). But if you have firewall software installed on your computer then you’d need to configure your firewall to allow connection to that port

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 :

Your lan ip address

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 :

  1. Open command prompt window or you can also use the same command prompt window from before
  2. type below command (image) :

Adjust it to your lan ip address

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

Checking IP Address for WOW LAN

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 :

  1. You need to use your public ip address instead of your lan ip address (you can see your public ip by visiting whatismyip.com)
  2. You need to configure your router to forward port 3724 and 8085 (and no don’t forward the port used by MySQL, because previously someone port forward the mysql port too)
  3. If you use firewall, allow connection to your computer on port 3724 and 8085 too

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 :

  • Look at your public ip from whatismyip.com and make a note of your public ip address

Your public IP Address

  • Sign up with Dynamic DNS service such as No-Ip.com , Dyndns.com or sitelutions.com and set up your desired dns name to your public ip address
  • Use the newly created DNS name as the address for realmd.realmlist instead of your public ip address (using the same sql command on example above)
  • Look at your lan ip address using the above example
  • Open C:\Windows\System32\Drivers\etc\hosts using notepad or your favorite text editor
  • add new lines using below format at the bottom of the hosts file

your-lan-ip-address     your-newly-created-dns-name

  • save it
  • adjust the realmlist.wtf to use your newly created dns name
  • set up port forwarding
  • and you’re done :)

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 ;)

Comment?

Note: Comment may not appear right away.

563 comments on “Creating Public Server for LAN Party – Setting up Private WoW Server

  1. Ok how about this..i totaly forgot i even had the option but i used to dual boot to windows 2003 server enterprise, but then i took it out of the boot.ini and forgot all about it…Im sure it would be easier to use Windows Server, i just would know where to start, i never really used it..So if someone would like to help me? That would be cool!

  2. I need help with server …All ppl who wana host add me in MSN [email protected] ….. plzzzzzzzzzz come

    Looking for a man who will host WoW Server … net speed 100 mbs or abowe that , 2 or 3 gm RAM , good procesor and need 23/7 or 24/7 host time…
    Tnx for reading it

  3. Ok, so ive got the 2.3.3 server up and running and ive got good drops set up…No matter how hard i try or everything i try i CANNOT for the life of me get it to where i can access it from an out side computer. Same computer fine, LAN or Internet computer no luck. The whole guide is great and i love it! BUT when it comes to settign it up for outside access it gets a little vague, pictures are hard to read, hours of nothing but reading post and comments and still not getting anywhere..
    Heres what i got
    -Lyksys Router
    -=Host machine on the router that i want to play from as well.
    –5 outside friends that want to connect.
    or whom ever wants to connect.
    Intel Duo Core 2330, 4 gigs of ram.
    some one on one help would be great!! I love the guide stuff so Far Reaper!!

  4. ok i figured out the problem i was having then, but still have another one. People can login now , but the person logging in gets an error “Unable to connect to realm list server” and idea?

  5. sorry for posting again, but i may have not correctly forwarded the ports if thats the case just say so. thanks again

  6. ok , i have seen my problem posted many times and either th person stops reply randomly after reaper-x ask a question or no one at all replies.

    Now to the matter at hand, i have a DYNDNS account like the tutorial suggests to use, i used my lan-ip 192.168x.xx and tried to connect from a outside pc and it was a no go(even tried what some have suggested the DMZ).i do have he ports 3724 and 8085 open and have the realmd realmlist data table set to the correct DYNDNS hostanme.i have been using hamachi, it’s just becoming a pain to teach people what hamachi is and how it works every time that i invite someone, because i would ask, also.i have the newest revsion that reaper-x made 5116 and have been fixing bugs etc. and would like more friends to join now that ive got it working well.thanks in advance with any help, and truly sorry for reposting thisproblem jsutcan’t seem to find a decent reply that works to it!!!!

    P.S. Great job with the tutorial and the new mangos revsion very few problems with it ^^

  7. … sorry, I pressed submit comment to early xD
    any way here’s the rest:
    …revision 4875) and not over internet… please, what’s wrong?
    everything seems so complicated in this verision :(

  8. Hi reaper-X , And everybody else :)
    I’ve done everything as I’ve been told in this Guide ;P but there’s still a problem, I’ve Forwarded the ports, and done all that… but still nobody can join… even not myself :( I’ve done a dynamic dns but i aint worked anyway =( …. people can join me LAN, but not hamachi(hamachi worked in revision 48

  9. hay im having a problem ware the mysql update will not work…

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\wow_server>mysql -u root -p
    Enter password: *****
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 21
    Server version: 5.0.51a-community-nt MySQL Community Edition (GPL)

    Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

    mysql> use realmd
    Database changed
    mysql> UPDATE `realmlist` set `address` = ‘192.168.2.3` where `id` =1;
    ‘>
    ‘>
    ‘>
    ‘>
    ‘>
    ‘>

  10. hi everyone,

    i’ve still got the same problem as before, and ive done what you said reaper. changed the port a few times :(

    Steve

  11. can someone please help me, i set up all the ip address but it cant connect, heres what i did for each one: i updated the realmlist to my dns server (not sure if it matters but i liked to exactly what it was called, in this case smiley.redirect.hm), i changed the wow realmlist to that aswell, i changed the host to have my ip then my dns server

  12. Yes, but only if they are within your internal network. If the are outside of it (say connecting through the internet) then you would need to give them your external address and port it through the firewall as 192.168.2.2 is a non-routable address over the internet.

  13. Reaper,
    Frist and foremost, great Dev Package :) its a shame that all of the truely good coders like yourself stay underground. Any ways onto my issue. Seeing as your busy I’ll make it brief.

    When running the UPDATE ‘realmlist’ command in MySQL Console i get an error saying that realmlist.address doesnt exist. Any hints?

    If you could email me that would be great :)

  14. Sorry for the triple post but when i try type that UPDATE etc etc bla bla bla thing. it comes up with an error saying

    ERROR 1300 : Invalid utf8 character string: ‘ ” “129’

    can someone plz tell me what is rong i really want to play my server with my friends =(

  15. Please can someone help me! im stuck on the step where i have to type everything after use realmd!. I tried copy and pasting (not the ip though) but it still hasnt worked!

  16. Reaper-x (or anyone else who can answer this),

    I am at a loss… I got my LAN (or rather WAN) server to work beautifully. I am just having problems connecting with one of my computers. I can connect with my desktop perfect and all my friends can connect from thier homes.

    With my laptop however, I change my “realmlist.wtf” file to my outside domain name (as I do with all the computers) and it still reverts back to Blizzard’s servers. At first I thought I just wasn’t authenticating with my server, but then when I entered in my blizzard ID’s it works. So… How can it still call blizzard’s servers when it’s pointed to mine?

    PLEASE HELP

    Shinzon.

  17. #Reaper-x,

    Sorry for double posting, but do you mean change it to this:
    set realmlist galaxy.game-server.cc:7000
    if port 7000 is the port i use?

    Thanks,
    Steve

  18. #Reaper-x

    thank you :) i’ll see if it works now… … …What do you mean by edit the realmlist.wtf file? Mines currently at
    set realmlist galaxy.gamepserver.cc
    so how do i change that to have the new port on the end?

    Thanks
    Steve

  19. Not sure if you fixed this but i had same issue, my address in my realmd had “” around it, i removed them using SQLyog and it fixed my issue, not sure how the “” got there but removing them resolved my troubles.

  20. Im sorry for late reply steveya, btw if you still having problem even if you have port forwarded the default port, and there are no other firewall blocking access

    then there’s something else using that port (3724) realmd by default,

    try changing into another value (edit realmd.conf) and don’t forget to also port forward that port (the new value) like 7000 for example

    and finally, you need to edit realmlist.wtf file so it point to the new port:

    mycoolwowserver.com:7000