How can i use the command:
/python -m http.server and make the server reachable through my public ip? I know this is NOT safe, but I just wanna try some things out.
Use it as you normally do.
You'd connect to it by its external IP address. You might need to setup your router to allow that. Read up on port forwarding, for example.
Using command python -m http.server and make server reachable by public ip?