Mangos Connection Problems

Results 1 to 15 of 15
  1. #1
    Enthusiast Tracekill is offline
    MemberRank
    Nov 2006 Join Date
    26Posts

    Mangos Connection Problems

    Ok, so after a ton of work and a ton of blood, sweat and tears (I cry in a manly fashion so it's ok), I've got the server working in the way I want it save for one issue. My friends cannot connect to it. I am connected directly to the router in my house by CAT5 cabling, I've configured the port forwarding to allow for the SQL connections and MANGOS port 3724. I've set myself as the DMZ to allow for remote connections but when my friend tries to log into the server with the account I have created for him, it says "Success" then "Logging into game server" then bounces back to the realm selection list immediately. My console is giving me no information on his supposed connection, what's going on?


  2. #2
    Enthusiast ast3rik is offline
    MemberRank
    Oct 2006 Join Date
    CroatiaLocation
    49Posts
    have u seted up in your realmd that the realm is NOT on 127.0.0.1.

    if you want allow your friends on network to connect on it, that IP has to be your LAN ip.

  3. #3
    Enthusiast Tracekill is offline
    MemberRank
    Nov 2006 Join Date
    26Posts
    My external IP? As in the one generated by WhatIsMyIP.com - 69.72.187.42

  4. #4
    Member ESeong is offline
    MemberRank
    Aug 2006 Join Date
    98Posts
    u need to insert ur ip/url inside realmd database in sql

  5. #5
    Enthusiast ast3rik is offline
    MemberRank
    Oct 2006 Join Date
    CroatiaLocation
    49Posts
    if your clients connect on your server via your external IP then you should set that one. but if you are on DSL then i think u have dynamic IP and there can be some problems. In that case register on dyndns.org or something like that and add your host (i.e. lala.dyndns.org) and your clients have to set their realmlist to your hostname.

    in other case (either static ip address or lan) just add that ip address into realmd.realmlist and your clients have to set their realmlist to that ip address.

  6. #6
    Novice mgb is offline
    MemberRank
    Nov 2006 Join Date
    4Posts
    I'm having the same issue, my server works perfectly internally, realm.conf and mangos.conf are set to 127.0.0.1 but my realmlist in sql is set to my ip. I'm not using a firewall. I am at a university, is it possible that this is causing my problem of my friends not being able to connect. thx

    After searching through these forums and others i conclude that this must be some kind of university firewall. Is there a way to test this.
    Last edited by mgb; 11-11-06 at 08:13 AM.

  7. #7
    Member ESeong is offline
    MemberRank
    Aug 2006 Join Date
    98Posts
    yea this is the link u can test ur firewall.

    Open Port Check Tool :P

  8. #8
    Novice mgb is offline
    MemberRank
    Nov 2006 Join Date
    4Posts

    i should have stated

    i should have stated that i tried that website, when i do so the connection times out

  9. #9
    Enthusiast Gamer2bn is offline
    MemberRank
    Oct 2006 Join Date
    25Posts
    If you are running any server applications through a router you need to understand something.

    A router takes your IP address and splits it up into a bunch of local ip's but in whole they are all still the same IP address. When other computers around the world look for your pc they need your ip assigned by your ISP not your router so put the one you got from whatsmyip.org but then realize your computers under a router cannot be seen to the outside world on my router however (possibly on yours too) one ip address is seen to the outside world this is 192.168.1.100 your may be different just make sure the end is .100 and then people outside can connect to you.

    HOW TO SET YOUR IP
    The easiest way is to set a static ip

    go to your internet and go to http://192.168.1.1 this will direct you to your routers configuration setup most likely the user is admin and the pass is admin by default.

    Now you need to do some searching cause every router is different your router (most likely cause otherwise you would figure out how to set your ip without reading this.) right now is assigning your local ip through DHCP you need to find something in a section about DHCP that says starting number and change it to .101 it should be set to .100 by default this will allow .100 to be assigned dynamically

    now go to start>setting>networkconnections
    IF YOU CANT GET TO NETWORK CONNECTIONS THAT WAY ITS IN YOUR CONTROL PANEL

    now right click the internet connection you use and click properties go to INTERNET PROTOCAL [IP/TCP] click it once then click properties button

    now go back and click your internet connection again in your network connections but this time dont click properties instead click the support tab then details now go back to the ip/tcp configuration click use the following ip button put in

    IP ADDRESS: 192.168.1.100
    SUBNET ADDRESS: 255.255.255.0
    DEFAULT GATEWAY:192.168.1.1

    PREFERRED DNS: PUT THE DNS ON YOUR IP DETAILS
    ALTERNATE DNS: PUT THE DNS ON YOUR IP DETAILS

    after you click ok your ip should change to 192.168.1.100 and should stay there forever so you will always be the only computer on your network noticed from the outside :)

    Hope this helps

  10. #10
    Enthusiast Gamer2bn is offline
    MemberRank
    Oct 2006 Join Date
    25Posts
    If that just confuses the heck out of you im sorry im not good at explaining stuff I am just good at figuring out how to do stuff...

  11. #11
    Enthusiast ast3rik is offline
    MemberRank
    Oct 2006 Join Date
    CroatiaLocation
    49Posts
    Quote Originally Posted by Gamer2bn View Post
    If you are running any server applications through a router you need to understand something.

    A router takes your IP address and splits it up into a bunch of local ip's but in whole they are all still the same IP address. When other computers around the world look for your pc they need your ip assigned by your ISP not your router so put the one you got from whatsmyip.org but then realize your computers under a router cannot be seen to the outside world on my router however (possibly on yours too) one ip address is seen to the outside world this is 192.168.1.100 your may be different just make sure the end is .100 and then people outside can connect to you.

    HOW TO SET YOUR IP
    The easiest way is to set a static ip

    go to your internet and go to http://192.168.1.1 this will direct you to your routers configuration setup most likely the user is admin and the pass is admin by default.

    Now you need to do some searching cause every router is different your router (most likely cause otherwise you would figure out how to set your ip without reading this.) right now is assigning your local ip through DHCP you need to find something in a section about DHCP that says starting number and change it to .101 it should be set to .100 by default this will allow .100 to be assigned dynamically

    now go to start>setting>networkconnections
    IF YOU CANT GET TO NETWORK CONNECTIONS THAT WAY ITS IN YOUR CONTROL PANEL

    now right click the internet connection you use and click properties go to INTERNET PROTOCAL [IP/TCP] click it once then click properties button

    now go back and click your internet connection again in your network connections but this time dont click properties instead click the support tab then details now go back to the ip/tcp configuration click use the following ip button put in

    IP ADDRESS: 192.168.1.100
    SUBNET ADDRESS: 255.255.255.0
    DEFAULT GATEWAY:192.168.1.1

    PREFERRED DNS: PUT THE DNS ON YOUR IP DETAILS
    ALTERNATE DNS: PUT THE DNS ON YOUR IP DETAILS

    after you click ok your ip should change to 192.168.1.100 and should stay there forever so you will always be the only computer on your network noticed from the outside :)

    Hope this helps


    Well, you just explained NAT (Network Address Translation) and you have explained it good. You can try this - Tell your friend to start the game, then go back to win (the game is still running). Open command prompt (start -> run -> "cmd"). type netstat -n and hit enter to see what you'll get. now type it again or use key up (last command) and wait. go back in game, type username & passwd, click login and with alt+tab go back to command prompt and hit enter. If you see any SYN SENT packets, you'll also see your local ip and the remote ip with port. If there are SYN SENT, write down the port and open that port from internet to your mangos server. This should help you to diagnose problem. Try it few times to be sure.

  12. #12
    Apprentice Qman46 is offline
    MemberRank
    Nov 2006 Join Date
    6Posts
    Did you solve this problem? I've got the same problem and the fixes above didnt work. Any ideas?

  13. #13
    Novice Exigence is offline
    MemberRank
    Nov 2006 Join Date
    2Posts
    so i enter DHCP thru 192.168.1.1 and messed around with it a bit and now Im screwed. it resets my westell 6100 modem and now I can't connect back online. i go to ipconfig and there's 0.0.0.0 for my addresses. So how do I connect back to DHCP server? It doesn't work thru 192.168.1.1 anymore...

    Edit: oh, I forgot to mention, so if I have a dynamic Ip, the only way I can have other ppl connect is to have a dyndns.org host? This is all very confusing and as you can see I no longer have a server or an internet connection.
    Last edited by Exigence; 14-11-06 at 07:34 AM.

  14. #14
    Apprentice Qman46 is offline
    MemberRank
    Nov 2006 Join Date
    6Posts
    I fixed mine, all I had to do was change my IP to the actual internet IP, not the no-ip.net name or wahtever. It works fine now

  15. #15
    Enthusiast ast3rik is offline
    MemberRank
    Oct 2006 Join Date
    CroatiaLocation
    49Posts
    Quote Originally Posted by Qman46 View Post
    I fixed mine, all I had to do was change my IP to the actual internet IP, not the no-ip.net name or wahtever. It works fine now
    it will work as long as your external IP is the one u spec. But when your modem reconnects you, your IP will be different and no one from net will be able to connect to your server. So, it can be configured that way if you have static IP address, if no, you'll have to deal with a dyndns or no-ip (in case you'r using dyndns, use a tool dyndns updater to update your ip on dyndns).

    Exigence

    Try to set your local IP address manualy, (i.e. 192.168.1.15, subnet mask: 255.255.255.0 gateway: 192.168.1.1, default DNS: 192.168.1.1). This should get you back online (in case u have set up your dsl modem to naild up connection).

    And yes, in case u have dsl and your ip is dynamic the only way to get it online is something like dyndns and don't forget to open ports on your DSL modem.



Advertisement