[FAQ] How do I Forward Ports?

Discussion in 'Bukkit Help' started by Bertware, Dec 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Since this question is returning regularly, I decided to write this small manual.

    Do I need Port forwarding?
    Do you have a router? If so,Yes.
    Do you have multiple computers at home, that share the same internet connection? If so, Yes

    How do I forward Ports?
    You have to know the IP of your router.
    You can get you router's IP by doing the following:

    Open CMD (linux users: Terminal)
    Execute the "ipconfig" command (Linux users: ifconfig)

    There might be information from different adapters.
    There should be 1 adapter with the following information:
    IPv4 Address (Linux users: Inet)
    Standardgateway (Linux Users: BCast (Someone please confirm))

    IPv4 address is your internal IP address. Remember this, write it down, you'll need this later.
    StandardGateway is your router's IP.

    Now enter your router's IP in your browser.
    You will have to login. The way you have to do this might be different depending on your router's manufacturer.
    The username is almost always "admin". You have probably changed the password when you installed your router. Enter the password. If you didn't change the password, refer to the manual for the default password.

    Once you logged in, Search for an option called "Port forwarding" or "Virtual server".
    Now you can add a rule, to forward port 25565 to your internal IP.

    Now you're done. Try if someone can connect to your server.

    Want to check if others can connect?
    Start your server and visit this URL:
    http://automation.bertware.net/bukkit/server.php (might not work on 1.2.3 and higher)

    If the server is running on the same computer you play: Enter localhost as ip
    If the server is running in your LAN (at your home): enter the internal IP
    If the server is running on the internet (outside your house): enter the external IP or hostname

    I hope this thread helps some people out, Greets,
  2. Offline


    I would like to add that in Linux, you use
    to find your local IP and that of the router. Also, in any platform you can find a DHCP Clients list in your router's interface which will include your local IPv4 address.
  3. Offline


    So if you use ifconfig, Bcast is the router's IP? I'm not that familiar with linux, just tried ifconfig on my Virtual machine.
  4. Offline


    No, running it with no options should list the network configuration.
  5. Offline


  6. Offline


    That should work indeed :)
    you might want to give this a try:
    run your server, and go to the following URL in your browser .
    If your port forwarding is correct and the server is running this should result in a small overview of your server.
  7. Offline


    Bertware it didn't work. I asked a friend to go onto the server after I set that! and they said 'It doesn't work'. :(
  8. Offline


    Open your server.properties.
    server port should be 25565

    What's your computers interal IP?
  9. Offline

    CaramelBird is my internal ip
  10. Offline


    You forwarded the port to Replace this with ;)
  11. Offline


    Oh okay :)

    Can you please test it for me? If you don't mind.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 22, 2016
  12. Offline


  13. Offline


    Now the server wont start :(

    It says

    at net.minecraft.server.ThreadServerApplication.run<Sourcefile:57>

    It says alot of stuff before that, but I can't write it all out. Help? :(
  14. Offline


    Start a new thread, it's a different problem, and give the COMPLETE error message.
  15. Offline


    hey u know how to port forward im guessing?

    can you give a even more detailed explanation on how to port forward?
    i have a motorola netopia lol
    its way different than what words u were using
  16. Offline


    Did you get that router from your internet provider, or did you bought it yourself?
  17. Offline


    my mom bought it for me
  18. Offline


    in that case, you should be able to access the router, and to access those settings.
  19. Offline


    What happends if I put iconfig in my cmd and don't get a IPv4 Address and only an IP Address?? Are they the same?? Which one is my router?
  20. Offline


    your router IP adress is in most cases something like 192.168.x.x
    Your external IP can be anything
  21. Offline


    I found the internal address, but when I enter it in the FireFox browser it just says its not something it can go to because its nothing.

    Firefox can't establish a connection to the server at

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 22, 2016
  22. Offline


    try: or
    I guess that is your computer IP.
  23. Offline


    I've got a strange issue. I have a .bat file set up to start the server at max memory and works fine, server works fine, my girl and i play all the time, however I dl'ed the gui as i wasn't getting a console window. I understand software and how it needs a target and pointed the gui to my server file the .jar file not the .bat, as i noticed it didn't need the .bat file with the gui's onboard memory allocation. Mind you my server is ported correctly, as I can use the server still without the gui, however with the gui, I start the server and I cant connect and the server appears to be offline. When i close the gui, I get spammed with server start errors which is probally due to plugins not having been updated for the new 1.2.5 build, so I get the impression the gui is freezing up on me and failing to start the server correctly. Any suggestions?

    EDIT: I removed the plugins that didn't work and the gui still seems to freeze after this "6:40:03 PM 182 recipes
    6:40:03 PM 27 achievements..."
  24. Offline


    Known bug in my GUI, however, about hte GUI, there's a separate topic and bukkitDev page ;)
    Check your firewall/antiviruse/... (GUI should be allowed to connect to internet, to connect to java.exe, to connect to the .jar)
    It seems like one of the threads isn't running.
    I'm currently working on a rewrite, that will fix the problem.
  25. Offline


    i have a prob with portforwarding when i type my ip it says:This site is running TeamViewer.

    Free Port 80 for other applications in advanced settings.

  26. Offline


    What operating system are you using?
    You need to enter the IP found as "standardGateWay" when you enter "ipconfig" in cmd, in your browser.
  27. Offline


    i have this Ethernet adapter Hamachi:

    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . :
    Subnet Mask . . . . . . . . . . . :
    Default Gateway . . . . . . . . . :

    Ethernet adapter Local Area Connection:

    Media State . . . . . . . . . . . : Media disconnected

    Ethernet adapter Wireless Network Connection:

    Connection-specific DNS Suffix . : arnhem.chello.nl
    IP Address. . . . . . . . . . . . :
    Subnet Mask . . . . . . . . . . . :
    Default Gateway . . . . . . . . . :
    AND I AHEV NO IDEA WHAT WHAT IS could u tell me whitch ip i need to use! please
  28. Offline


    You don't need port forwarding if you use hamachi. Though, hamachi is not recommended.
  29. Offline


    wont work :( help

    copy and paste

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 22, 2016
  30. Offline


    problem with bukkit. Try creating a new server (so fresh bukkit.jar, no plugins)
Thread Status:
Not open for further replies.

Share This Page