this post was submitted on 17 Jan 2025
9 points (73.7% liked)

networking

2856 readers
21 users here now

Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 2 points 1 day ago (1 children)

They are telling you that you need to learn some more networking before you do anything.

There is no reason to expose a http server on the internet

[–] john89@lemmy.ca 1 points 1 day ago (1 children)

There is no reason to expose a http server on the internet

Lolwut.

[–] possiblylinux127@lemmy.zip 1 points 1 day ago (1 children)
[–] scrubbles@poptalk.scrubbles.tech 2 points 17 hours ago (2 children)

From what I've gathered, either this guy is honestly trying to learn how to set up an http server that he built, which great but good luck finding a von that will NAT requests to you.... Or ..

He thinks internet traffic is blasted to every computer out there and wants to "listen" for it. Honestly I can't tell and they can't describe the problem in a way where we can help them

[–] gedhrel@lemmy.world 1 points 7 hours ago

Seems like lots of vpn providers offer port forwarding after a fashion. It surprised me too but there were summary comparisons just a search away.

[–] possiblylinux127@lemmy.zip 2 points 15 hours ago (1 children)

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 0 points 14 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