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

networking

2856 readers
19 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* (last edited 1 day ago) (1 children)

Don't do this as it is a very bad idea

What is the end goal?

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

How do you know it's a bad idea without knowing what the goal is?

[–] possiblylinux127@lemmy.zip 1 points 6 hours ago

Exposing anything to the internet is a bad idea