Giter VIP home page Giter VIP logo

Comments (5)

Trilarion avatar Trilarion commented on August 31, 2024

It seems port forwarding using UPnP/IDG might be the easiest possible solution if the router supports it.

See: https://stackoverflow.com/a/28652219/1536976

from imperialism-remake.

krs013 avatar krs013 commented on August 31, 2024

I don't think this is something we need to worry about. As long as the program opens the port and maybe reports the port and IP address, we can leave the rest to the users. Works for Minecraft.

from imperialism-remake.

Trilarion avatar Trilarion commented on August 31, 2024

What tools do users of Minecraft use to implement port forwarding? If there are convenient tools out there, I agree that we don't need to do that ourselves. A little recipe for how to use them might be worth an entry in the FAQ.

Getting the public IP is actually something we do not have yet. The network code only delivers the local IP if behind a NAT. But there is for example ipgetter.

from imperialism-remake.

krs013 avatar krs013 commented on August 31, 2024

I mean, I wouldn't go so far as to say that there are convenient tools... When I've set up servers I just set up ports at the router level since I run the network. Bigger servers are usually run on remote servers that have setup like that built in.

I guess I shouldn't talk about it like it's a solved problem, but it's something that many users can handle on their own, so I wouldn't worry about it for now. But if there's a way to do it with UPnP or something similar, and a use for that kind of mechanism in testing, it might be worth trying.

from imperialism-remake.

Trilarion avatar Trilarion commented on August 31, 2024

Okay. As a first step, I displayed the "real" IP address using ipgetter. The rest is for later.

from imperialism-remake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.