1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. While the majority of active discourse on D20PRO has moved to our Discord Channels, this forum is still active and checked-in on regularly by our staff. However, for the very latest information, conversation and/or immediate support, please join us on Discord here: http://discord.gg/Ph38ckM
    Dismiss Notice

External IP address

Discussion in 'General Discussion' started by thewizard3, Jul 30, 2008.

  1. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    Hello,

    First off, from what I've seen thus far, this is a wonderful product. I've been doing some research for perspective virtual tabletop platforms, and found yours to be a definate front runner. I have a question about hosting... I've read the readme and the wiki, but didn't find what I was looking for. When you log on as a DM, it allows you to define a particular port (nice for port forwarding), but I haven't found anything that tells you what the external IP address is for the players to log in to the game. Where would I find that information? I noticed that when you log in as a player, it provides you the option to input the IP address.
    Thanks in advance for your help

    RB
     
  2. Dan

    Dan Member

    Joined:
    Jul 8, 2008
    Messages:
    599
    Likes Received:
    3
    The easiest way is to launch a command line and get the IP using ipconfig.

    In XP click Start, then Run
    type CMD and hit enter
    at the prompt, type ipconfig
    your IP address is near the beginning of the report that displays
     
  3. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    That'll give the internal IP address for my router, which doesn't do any good for people outside the local network.
    Or is D20Pro only for an internal network?

    RB
     
  4. Dan

    Dan Member

    Joined:
    Jul 8, 2008
    Messages:
    599
    Likes Received:
    3
    No, it's for both internal and external networks. You will need to obtain the IP address for your router then, I believe - the IP that is used for your ISP connection. When I host games online, I go to my router admin panel to get that.

    For my linksys router, I open my web browser and go to: 192.168.1.1
    Then I log into my router admin panel when prompted
    Next, I click on Status and my external IP address is listed

    Please understand that I am not a very technical guy, so I'm not sure if this is the most straight-forward way of doing this. I will notify our developers and see if they can give more insight into this. In-client IP display is a feature that may be implemented in a future update.
     

    Attached Files:

  5. Daggeth

    Daggeth New Member

    Joined:
    Jul 8, 2008
    Messages:
    232
    Likes Received:
    0
    I use www.whatismyip.com to find the external IP of the router I'm behind and then have players connect to that after setting up port forwarding. Dan is correct that you can find the external IP of your router by going through the admin pages but I find it easier to hit that website to get it. Hope this helps, if you are still stuck on this or have other questions please let us know.
     
  6. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    I appreciate all the help, but it's still not letting me connect.

    Here's the scenario:

    I'm on a wireless connection and two laptops. One is connected to one wireless network, the other to a different one (to test external connecting). One is set to be the Referee, the other to player. I configured port forwarding on the router for ports 10101 (default for D20Pro) as well as 1626, and even disabled user account control on both laptops (both running Vista). Both are set to the same port, and I set the player IP to what was found on whatismyip.com (corresponded to router information), even tried using the default gateway IP address on the router.
    What I don't know...
    - Should I have the port forwarding protocol set to TCP, UDP, or both? Will it make a difference?
    - Will the demo version have an impact on this?

    If anyone has any suggestions, I'd be very grateful!

    RB
     
  7. Daggeth

    Daggeth New Member

    Joined:
    Jul 8, 2008
    Messages:
    232
    Likes Received:
    0
    I know this is kinda basic, but have you made sure that there is no sort of firewall software (zonealarm, etc.) or anti-virus that might be blocking the connection? What error message do you get when the client PC fails to connect?
     
  8. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    AV for both machines was turned off as well as the firewalls. I had some trouble like this with Battlegrounds RPG, but it was remedied with port forwarding.
    The error received on the player attempt is: connection timed out: connect

    RB
     
  9. Dinoz669

    Dinoz669 New Member

    Joined:
    Jul 31, 2008
    Messages:
    5
    Likes Received:
    0
    i configured mine using both tcp and upd and it worked i also leave my Av and firewals going and told them to allow D20pro as an exeption and my time out problems went away

    now if i can figure out why i have so much lag when im logged in as a player onto anyone elses system, :p
     
  10. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    This is getting to be a bit of a headache. Frustration leve is about :evil: there...
     
  11. Daggeth

    Daggeth New Member

    Joined:
    Jul 8, 2008
    Messages:
    232
    Likes Received:
    0
    thewizard3, I can feel your pain on trying to troubleshoot inexplicable network connection problems. :?

    To make sure I've got a clear picture of your setup, both latptops are connected to different routers, correct? Are both routers behind the same DSL/Cable connection?

    Also, can you make sure that both laptops are running the same version of d20Pro? Different client versions cannot connect to each other by rule as changes/updates in newer versions will sometimes be incompatible with older releases.
     
  12. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    The "player" computer is connected to a neighbors router who also has the same internet provider (connection is not limited or incrypted)
    Both are Version 1.12.5

    I also tried with the player computer connected to the same network as the DM - doesn't seem like it should matter since it's trying to connect to an external IP address.

    I could be wrong...

    RB
     
  13. Dan

    Dan Member

    Joined:
    Jul 8, 2008
    Messages:
    599
    Likes Received:
    3
    Have you tried connecting with another computer, perhaps remotely, from another house? If that works, then we can narrow down some of the possible problems. One time I was unable to connect two machines under any circumstances, and I think there was a corrupt file, because when I copied my entire program folder to the player computer, they connected perfectly.

    If you are unable to connect to your DM copy with another PC, try reinstalling a fresh copy on both machines and see if that helps.

    Just my 2 cp
     
  14. ogexam

    ogexam Member

    Joined:
    Jul 10, 2008
    Messages:
    526
    Likes Received:
    1
    I had some of those same kind of problems when I first started trying to do a remote host over the internet.

    It came down to that port forwarding section in my router on the DM.

    If I had more then one listed for d20Pro it would always use the first one which had the wrong internal IP address.

    Make sure on your router in port forwarding when you give your DMs laptop ip address like 192.168.0.100 ensure that is the actual IP address at the time. At home as I turn different comptuers on and off I will notice my local IP will sometimes be .100 then next time I boot .102 depending on how many people are currently on the local lan.

    Verify that that IP address is the one of your DM laptop, and that you have the right port numbers open.
     
  15. Daggeth

    Daggeth New Member

    Joined:
    Jul 8, 2008
    Messages:
    232
    Likes Received:
    0
    When connecting computers in a local network I'd suggest using the NAT'd IP of the computer with the GM client. It seems like it should work using the external IP of the router but I don't think it will. I believe there is a perfectly good reason for this but I can't think of it right now, I should know it though. Connecting the two machines over a local network using the NAT'd IPs (192.168.0.x most likely) should be the next step (if you haven't already done this) so we can narrow down whether or not the router is causing the problems here.

    I've been able to connect clients in many, many different scenarios including multiple machines on wireless connections and multiple Vista machines, so I can tell you with almost 100% certainty that your scenario should work just fine once we figure out where the roadblock is.
     
  16. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    Thanks everyone, I'll try and let you know the results

    RB
     
  17. thraxxis

    thraxxis Member

    Joined:
    Jul 8, 2008
    Messages:
    507
    Likes Received:
    1
    RB,

    Diagnosing networks can be a headache for sure. Please hang in there. Answers to your questions are below:

    - Should I have the port forwarding protocol set to TCP, UDP, or both? Will it make a difference?
    > Set to TCP

    - Will the demo version have an impact on this?
    > No, the only practical different between a trial license and a full license is the trial license will validate when you start d20Pro


    Are you able to ping the Judge computer from the Player computer?
     
  18. thewizard3

    thewizard3 New Member

    Joined:
    Jul 30, 2008
    Messages:
    8
    Likes Received:
    0
    Thank you everyone for trying to help. I'm going to have to put this on the back burner for a while (moving to FL from NY) so I will pick this up again in a couple weeks. When I get there, I'll try the last suggestions and let you know the results.

    TTFN - RB
     
  19. wry_designer

    wry_designer New Member

    Joined:
    Aug 5, 2008
    Messages:
    3
    Likes Received:
    0
    I just go to conrol panel, then open up "network connections." If you highlight the network you are connecting through, you should see your IP in the little info section on the bottom left of the window. You'll still need to go into your router and forward your port and stuff to make sure it gets through, but that should be the IP you need.
     
  20. Dan

    Dan Member

    Joined:
    Jul 8, 2008
    Messages:
    599
    Likes Received:
    3
    Good news:

    Our next release (version 1.13) will have internal IP display for the DM. You will be able to see your IP address in the options section without leaving the program.
     

Share This Page