Giter VIP home page Giter VIP logo

Comments (4)

EternityForest avatar EternityForest commented on July 29, 2024 1

from bittorrent.org.

ckcr4lyf avatar ckcr4lyf commented on July 29, 2024

There is clearly a lot of interest in things like ngrok, and a P2P alternative would have many use cases.

Could you explain a bit more as to how what you're describing achieves this?

E.g. let's say Bob (Public IP = 1.2.3.4) is running a webserver on localhost:3000 . He then prepares a "webservice torrent" for this.

If Alice (Public IP = 8.8.8.8) wants to access this, she would acquire the "webservice torrent" (for simplicity let's just assume Bob emails it to her), add it to her client, and select a port e.g. 4444.

Are you saying that now Alice's localhost:4444 would be tunneled to Bob's service running on his localhost:3000?

from bittorrent.org.

EternityForest avatar EternityForest commented on July 29, 2024

from bittorrent.org.

ckcr4lyf avatar ckcr4lyf commented on July 29, 2024

Well, where does the TCP connection happen then? I.e. how does a packet from Alice's computer (localhost:4444) get to Bob's service (i.e. his localhost:3000)?

ngrok etc. solve the problem of needing to open ports by basically making a reverse tunnel, and they forward traffic on a Public IP with an open port that they have.

I'm not sure I quite understand how Bob's service would be exposed for others to connect to over the internet, assuming he doesn't manually open any ports.

Even BitTorrent behind an ISP which doesn't let you port-forward would only allow outgoing connections, so I don't see how torrents would solve it in a ngrok like manner.

from bittorrent.org.

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.