I’ve been able to set up sending and listening to http requests locally using 127.0.0.1:8000. I want to try doing it using the internet now.

I have a VPN with port forwarding enabled, but sending requests to that IP address and port does not yield a response like it did when doing it locally.

Can anyone clarify which address I should be listening on in order to receive http requests from the internet? I tried 0.0.0.0 and a few inet addresses from ip add, but none of them work.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 hours ago

    The person above probably should not be exposing something to the internet.

    Chances are they just want a simple environment to play in which is easily provided by either a virtual lab or a local network.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      15 hours ago

      Agreed. I’ve been self hosting for well over a decade now and I can count how many services I expose on one hand, and they are very curated. He’s trying to convince people he knows what he’s doing, but I’m not convinced he’s not trying to be a leet haxxor