Mangos On Internet

Results 1 to 24 of 24
  1. #1
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts

    Mangos On Internet

    I have recently reinstalled mangos, my last one worked and i have followed the same guide but this time i cant seem to connect through my Internet IP being 81.179.25.209 but can connect through my 192.168.1.2 i have my realmlist.wtf IP set to 81.179.25.209 and in the sql my realm ip is 81.179.25.209 before i could use any IP and it would work. Help Needed


  2. #2
    Elite Member Dristol is offline
    Member +Rank
    Nov 2006 Join Date
    ( . Y . )Location
    208Posts
    If you are using a router, ensure that you have the proper ports forwarded. Secondly, you need to make sure that you have modifed the realmlist table in your realmd database and entered in your WAN IP address, not your LAN IP.

    If you are using a new version of zonealarm or any other antivirus or firewall software, make sure that you have added it to one of the allowed access for server support.
    Last edited by Dristol; 28-11-06 at 06:32 PM.

  3. #3
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    realmlist table in your realmd database
    What do you mean by WAN? do you mean my internet ip 81.179.25.209 or 127.0.0.1
    Last edited by Sc00by22; 28-11-06 at 07:03 PM.

  4. #4
    Newbie MaTToo7 is offline
    MemberRank
    Nov 2006 Join Date
    Malta, EuropeLocation
    21Posts
    Quote Originally Posted by Sc00by22 View Post
    What do you mean by WAN? do you mean my internet ip 81.179.25.209 or 127.0.0.1
    WAN - Wide Area Network which is basically the one from where you you can find from WhatIsMyIP.com - 69.72.187.42which in this case as you mentioned your internet ip 81.179.25.209 :kid:

  5. #5
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Ok there all set right, but it still isnt working

  6. #6
    Elite Member Dristol is offline
    Member +Rank
    Nov 2006 Join Date
    ( . Y . )Location
    208Posts
    Well you need to give us more info. Take some screenshots or tell us exactly what you have done and we will tell you what more you need to do.

  7. #7
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Ok here are some screenshots of configs ect







  8. #8
    Newbie ChrisD is offline
    MemberRank
    Sep 2006 Join Date
    13Posts
    I know what the problem is and I had it too. This problem has nothing to do with firewalls and portmapping.
    When you set your OUTSIDE IP in your realmlist the following happens:
    People from outside connect to your realmd server. It tells the client that the realm you want is located at the OUTSIDE IP you specified in the database. So the client tries to connect to the mangosd at that IP.
    This is going fine, considering the right ports have been mapped, but like i said, that is irrelevant to the real problem, which is:

    Now that you connect to the realmd via your INTERNAL ip (192.168.x.x) the realmd again tells this client to connect to the mangosd server at the OUTSIDE ip specified in the database. This OUTSIDE ip does not exist from your LAN where you are trying to connect from and thus the connection fails.

  9. #9
    Member sonic808 is offline
    MemberRank
    Oct 2006 Join Date
    96Posts
    Not sure if this would make a difference but set your 127.0.0.1 in your config files to localhost :)

  10. #10
    Elite Member Dristol is offline
    Member +Rank
    Nov 2006 Join Date
    ( . Y . )Location
    208Posts
    Sc00by, change your realmlist.wtf to connect to your server's LAN IP (others can still connect from outside.)

    ie 192.168.1.x

    Try it, and if that doesn't work, try changing all loopback addresses (127.0.0.1) to localhost instead.

    EDIT: haha, sonic beat me to it.

  11. #11
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Ok guys

  12. #12
    Elite Member Dristol is offline
    Member +Rank
    Nov 2006 Join Date
    ( . Y . )Location
    208Posts
    TO PLAY ON YOUR PUBLIC MANGOS FROM YOUR OWN LAN -- BYPASS THE BULLSHIT HERE Read the following:

    you and every one else behind your router still cant because the router normaly doesn't forward your connection back to an internal IP adress.

    so here is whats you do:
    there is a file in the windows directory named "hosts", it is normaly in C:\WINDOWS\system32\drivers\etc\hosts, but you can simply search for it.
    first do a backup of this file, so if you do something wrong you won't blame it all on me
    then open it with notepad
    you will se allot of explanation text and then a line looking like this:


    127.0.0.1 localhost

    dont change that! PLEASE! LEAVE IT!
    under that line, write in the same way your LAN ip andres (not the one from whatsmyip) and after that the dns name you created. so it could look like this:


    127.0.0.1 localhost
    10.0.1.12 test.dyndns.org

    left is your local area network IP adress, and right is your newly created DNS name.
    the spacing isn't important, you need at least one space between both.

    what this does.
    when outside ppl connect to your server, they will get the DNS name you created, and will conect to the IP adress you provided with it.
    when you conect to your server, you will get the DNS name but won't even search for the IP adress, since you allready have a IP adress for this DNS in your "hosts" file and you will connect to your own internal IP adress.

    repeat the same "host file editing" on every LAN computer that wants to join, but not on anyone outside your network.

  13. #13
    Newbie ChrisD is offline
    MemberRank
    Sep 2006 Join Date
    13Posts
    That is very nice, Dristol! Did not think of that

  14. #14
    Newbie AiYoriAoshi is offline
    MemberRank
    May 2006 Join Date
    4Posts
    My Problem is that I can connect from network or locahost but cannot connect through the internet. The Realm is visible in the Realmlist but if you try to connect you get always back to the realmlist.

    My Configuration looks atm like this:
    mangosd.conf
    LoginDatabaseInfo = "localhost;3306;root;mangos;realmd"
    WorldDatabaseInfo = "localhost;3306;root;mangos;mangos"

    realmd.conf
    LoginDatabaseInfo = "localhost;3306;root;mangos;realmd"

    realmd sql table:
    id | name | address | port | icon | color | timezone
    1 | Mangos | mydyn.hostname.tld | 8085 | 1 | 0 | 1

    realmlist.wtf
    set realmlist mydyn.hostname.tld

    I also tried it with setting all hostnames to mydyn.hostname.tld but this also doesn't work.

    I'm using MySQL 5.0.27, Mangos rev 2729b from mangos-files.de, SDB 5.3 rev 303

    Note: mydyn.hostname.tld is of course just an example not the real hostname.

  15. #15
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Cheers Dristol

    Dam, i reinstalled mangos and i have the same problem as i use to have this time i cant even connect through LAN, my realm address is my internet IP in mysql and ive tried realmlist.wtf as localhost and 192.168.1.2 . It connects ok but gets stuck on Connected when trying to logon to a realm. I also tried setting my realm ip in mysql to my LAN ip and still get nothing.
    Last edited by [lexx]; 11-12-06 at 03:49 PM.

  16. #16
    Member tmgk is offline
    MemberRank
    Nov 2006 Join Date
    IllinoisLocation
    42Posts
    Quote Originally Posted by Sc00by22 View Post
    Dam, i reinstalled mangos and i have the same problem as i use to have this time i cant even connect through LAN, my realm address is my internet IP in mysql and ive tried realmlist.wtf as localhost and 192.168.1.2 . It connects ok but gets stuck on Connected when trying to logon to a realm. I also tried setting my realm ip in mysql to my LAN ip and still get nothing.
    Same machine running the server or separate machine on LAN?

    If same machine set realmlist.wtf to localhost

    If separate machine set realmlist.wtf to LAN IP of server machine.

    I had a similar problem with realm looping and had to make an entry in my hosts file to connect properly. Basically if your server has an IP of 192.168.0.2 enter into the hosts file as

    192.168.0.2 mylan.com or something similar and set the realmlist.wtf to mylan.com and it will connect

  17. #17
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Well its on same PC and i have set my realmlist in mysql to 192.168.1.2 and my realmlist.wtf to localhost and still nothing :(

  18. #18
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Ok my hosts file looks like this

    127.0.0.1 localhost
    127.0.0.1 192.168.1.2
    127.0.0.1 81.179.25.209
    192.168.1.2 localhost
    192.168.1.2 81.179.25.209

    192.168.1.2 is my LAN IP and 81.179.25.209 is my internet IP

  19. #19
    Member tmgk is offline
    MemberRank
    Nov 2006 Join Date
    IllinoisLocation
    42Posts
    Quote Originally Posted by Sc00by22 View Post
    Ok my hosts file looks like this

    127.0.0.1 localhost
    127.0.0.1 192.168.1.2
    127.0.0.1 81.179.25.209
    192.168.1.2 localhost
    192.168.1.2 81.179.25.209

    192.168.1.2 is my LAN IP and 81.179.25.209 is my internet IP
    erase the 127.0.0.1 81.###.##.### of your real IP since that will probably just cause problems later

    erase 192.168.1.2 localhost as well and the 192.###.#.# localhost

    set your realmlist in mysql to 127.0.0.1 and your realmlist.wtf should be 127.0.0.1

  20. #20
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    Changed the MYSQL Realmlist, realmlist.wtf and my hosts and it still just stays on Connected

  21. #21
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    bump

  22. #22
    Member GDM is offline
    MemberRank
    Dec 2006 Join Date
    39Posts
    i think i have the same problem too
    i'm logging in, going to choose realm, inputed settings, clicked the suggest realm button and there is no realms in the table...

  23. #23
    Sorcerer Supreme Sc00by22 is offline
    Member +Rank
    Nov 2006 Join Date
    422Posts
    i get the realm but when i select it, it gets stuck on Connected, check your realmlist in MYSQL and your realmd config file

  24. #24
    Member bulgarian is offline
    MemberRank
    May 2006 Join Date
    bulgariaLocation
    92Posts
    yeah i have this problem too when i set every thing to my i-net ip the realm.wtf te mangosd and realmd conf to my i-net ip and mysql realmd realmlist and my database handler config to this ip nothing happens :((



Advertisement