TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    How To Host (using Port-Forwarding)

    Scheduled Pinned Locked Moved Player Help
    39 Posts 14 Posters 39.7k Views 16 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      lehabitant @RoiEX
      last edited by

      @roiex i understand what you have posted. i am failing to have my computer recognized on the internet/by triplea. i think i have my forwarding parameters correct but i can seem to get triple a to find me. hence i am unsure of what more i can do. when triple a tries to find me i get an error message that says ....cant find you on 67.193.217.176. in my router the only address i have is 192.168.1.140. i understand i dont need to change IP due the router doing its job. but if i have set everything correctly, where am i going wrong?

      my settings for single port forwarding on a linksys ea6100:
      name external port internal port protocol device IP enabled
      triplea 3300 3300 both 192.168.1.140 true

      1 Reply Last reply Reply Quote 0
      • RoiEXR Offline
        RoiEX Admin
        last edited by

        @lehabitant Your setup looks good, it's probably just a typo or something minor at some point. Note that every IP starting with 192.168 is a local IP only visible from within your LAN. So TripleA probably correctly detects your public IP, this is unlikely the problem.
        I can recommend canyouseeme.org a tool you can use to check if you setup port forwarding correctly. Just enter the port you want to check and it will tell you if it's able to detect a service at that port. Note that this will only work when your client/ TripleA is already actively hosting (you might need to use a headless client for this to work, not sure if you can just ignore the warning).

        In any case looking at a guide from your router manufacturer there are only 32 possible error sources that would come to my mind. I'm assuming you enabled your rule correctly (just noticing this, because it seems there's a checkbox to enable this rule, but you probably already checked that twice.)
        So the are just 2 things that might be the problem here: Your port could be wrong. It might be the case that triplea is hosting on another port than you configured it to something other than 3300.
        The other potential problem, also described in the guide could be that your ip address is wrong/outdated.
        To make sure your ip is correct, (assuming you use Windows) press the Windows Button + R type in cmd Enter, type in ipconfig Enter.
        Somewhere in this description should be your ip address.
        If it's not that's your issue. You might need to make your local ip static (see guide) for the ip not to change in the future.
        Hope this helps

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lehabitant @RoiEX
          last edited by

          @roiex i have done everything you have suggested including using the canyouseeme. it couldnt see me. i apologize for so many posts but would like to figure this out. i havent made any typos or other errors that i can see. if i have everything correct in my router settings, would it be the windows firewall? i have the exception in it but that could be a possibility...

          General_ZodG 1 Reply Last reply Reply Quote 0
          • General_ZodG Offline
            General_Zod Moderators @lehabitant
            last edited by General_Zod

            @lehabitant

            The firewall diagnosis is fairly simple. What happens when you try the below?

            ( Note, if you have multiple firewalls, confirm their status too. )

            Troubleshooting

            Computers often don't work like you want them to, here are some tricks that might come in handy if something is not working for you:
            Try ***temporarily*** disabling your Firewall. If everything is working fine with your Firewall disabled, you haven't setup your Firewall correctly. If it's still not working your Router isn't correctly forwarding the traffic to your PC.

            Replacement of http://tripleadev.1671093.n2.nabble.com/Download-Maps-Links-Hosting-Games-General-Information-tp4074312p4085700.html
            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lehabitant @General_Zod
              last edited by

              @general_zod tried my firewall settings too. regardless of what i do triplea comes back with the same message .....looking for your computer on 67.193.217.176 port 3300... all of my settings appear to be setup correctly. i also turned off my firewall in my router and in windows. no luck. i pretty much give up. i cant think of anything else to try and everything appears correct. no idea where to go next.

              General_ZodG 1 Reply Last reply Reply Quote 0
              • General_ZodG Offline
                General_Zod Moderators @lehabitant
                last edited by General_Zod

                @lehabitant

                Correct me if I'm wrong.

                I am assuming this message is seen somewhere in the router traffic history only.

                The ip that it refers to doesn't look like a local ip address, it looks like a outside ip. (the ip assigned by your internet service provider).

                Is "67.193.217.176" what you have entered in "Device IP" in your routers port forward config? If so confirm this is truly the local ip address of you computer.

                0_1514830370761_sc.linsys_1.JPG

                To make sure your ip is correct, (assuming you use Windows) press the Windows Button + R type in cmd Enter, type in ipconfig /all Enter.
                Somewhere in this description should be your ip address.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lehabitant
                  last edited by

                  all is well now. due to some internet malfunctions i ended up removing my linksys router considering my ISP provides me with a wireless router. logged in and made the port changes and looks like everything is fine now. was able to host. thanks for your help and patience. happy gaming.

                  1 Reply Last reply Reply Quote 3
                  • jalingoJ Offline
                    jalingo
                    last edited by

                    For Mac OS, when you host a game the system will ask you if TripleA can receive incoming requests (authorize it).

                    Once you've hosted a game, it will show the IPv6 address. For other computers on the LAN, they'll have to connect with the host's IPv4 address.

                    IP websites will report your router's WAN address, not the one you need. To get the host's local IPv4 address, open terminal and enter "ifconfig getifaddr enX" where X = 0 (eth), 1 (wifi), usually.

                    1 Reply Last reply Reply Quote 3
                    • S Offline
                      simon33 @prastle
                      last edited by

                      @prastle said in How To Host:

                      @prastle How to Host a Bot.
                      Anyone that can host can host bots.

                      Now you will need to place a bot folder or multiple ones, in the same TripleA program folder. The below is an example of one of my bots. Using windows. Other operating systems are slightly different.

                      @echo off
                      SET PORT=3363
                      SET BOT_NUMBER=25

                      SET LOBBY_HOST=45.79.144.53
                      SET LOBBY_PORT=3304

                      java -server -Xmx320m -Djava.awt.headless=true -classpath bin/triplea.jar games.strategy.engine.framework.headlessGameServer.HeadlessGameServer -Ptriplea.game.host.console=false -Ptriplea.game= -Ptriplea.server=true -Ptriplea.port=%PORT% -Ptriplea.lobby.host=%LOBBY_HOST% -Ptriplea.lobby.port=%LOBBY_PORT% -Ptriplea.name=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.hostedBy=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.supportEmail=prastle7@hotmail.com -Ptriplea.lobby.game.comments="automated_host" -Ptriplea.lobby.game.reconnection=172800

                      pause

                      Save the above to a notepad file and rename it with the name and number that you wish for your bot. Make sure it is using one of the correct port numbers you have opened on your router. Now resave the notepad file as a .bat file and place it in your Triple program folder. Test to see if your bot launches in the lobby. @RoiEX please have a look at this and see if you agree thanks Pras

                      Are this instructions out of date? I get:
                      Error: Could not find or load main class games.strategy.engine.framework.headlessGameServer.HeadlessGameServer

                      What it should be isn't obvious to me. Works fine on build 3635.

                      Also, why is the port 3363? I thought it should default to 3300?

                      prastleP 1 Reply Last reply Reply Quote 0
                      • prastleP Offline
                        prastle Moderators Admin @simon33
                        last edited by prastle

                        @simon33 Port is whatever you are using
                        new file is located here

                        https://github.com/triplea-game/triplea/releases/download/1.9.0.0.12469/triplea-game-headless-1.9.0.0.12469.zip

                        Last time I worked with it was .10182

                        you need to place the headless file in the same folder as the new headed file

                        If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                        1 Reply Last reply Reply Quote 1
                        • RoiEXR Offline
                          RoiEX Admin
                          last edited by

                          @simon33 What @prastle said.
                          You're using an outdated script.

                          1 Reply Last reply Reply Quote 0
                          • B Online
                            beelee
                            last edited by

                            @RoiEX
                            I assume we have to make changes to the router. Our router is controlled completely by our isp. Are there commands we can run to do the port forwarding without having to get into the router?

                            3300 is open

                            prastleP 2 Replies Last reply Reply Quote 0
                            • prastleP Offline
                              prastle Moderators Admin @beelee
                              last edited by

                              @beelee you need to port forward the router and allow triplea through your windows firewall. A good site to look at is portforward.com

                              If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                              B 1 Reply Last reply Reply Quote 1
                              • prastleP Offline
                                prastle Moderators Admin @beelee
                                last edited by

                                @beelee Also if you figure out how to portforward a cell modem let me know 🙂

                                If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                                B 1 Reply Last reply Reply Quote 1
                                • B Online
                                  beelee @prastle
                                  last edited by

                                  @prastle

                                  yea i can't log in to my router. My ip has to do it ( MCI ) I also have Century Link, but it's pretty slow. I should be able to change it though

                                  1 Reply Last reply Reply Quote 0
                                  • B Online
                                    beelee @prastle
                                    last edited by

                                    @prastle said in How To Host:

                                    @beelee Also if you figure out how to portforward a cell modem let me know 🙂

                                    heh heh will do

                                    1 Reply Last reply Reply Quote 1
                                    • B Online
                                      beelee
                                      last edited by

                                      hmm... i still can't get it to work

                                      1 Reply Last reply Reply Quote 0
                                      • RoiEXR Offline
                                        RoiEX Admin
                                        last edited by

                                        Not really able to help you at this point, but once we have a new stable, I can show you something that'll 100% work (if there are no bugs that is) regardless of your ISP.

                                        1 Reply Last reply Reply Quote 1
                                        • bluelionmanB Offline
                                          bluelionman
                                          last edited by

                                          I'm really not very skilled tried to set up being a host and got these error messages (game engine 2.1):

                                          e1eb1535-913b-4e6b-85e9-a1211db8444e-image.png

                                          Where would you rather be than right here, right now!

                                          1 Reply Last reply Reply Quote 0
                                          • RoiEXR Offline
                                            RoiEX Admin
                                            last edited by

                                            @bluelionman Both "error messages" actually reffer to the same problem it seems.

                                            Some technical details @LaFayette : The detailed Dialog is shown asynchronously which doesn't prevent the NullPointerException from happening, that's why 2 dialogs are shown. We might want to create an issue for this.

                                            But back to the topic: @bluelionman Can you explain what you did in order to follow the steps above?
                                            It seems like port-forwarding is not setup correctly which is why the lobby can't reach your host.

                                            bluelionmanB 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums