I am running the latest TailsOS and would like to run and access a web service locally for myself. Just opening the index.html file in the TOR browser does not work, so I need some minimal web server hosting my app
directory.
I tried both busybox httpd
and the node http server with no success. Whenever I try to open localhost:8000 or 127.0.0.1:8080 (both services are exposed on these ports respectively), I get nothing in my TOR browser. I also tried starting nginx
but the service fails to start after installation (which should automatically start an nginx service).
I assume all of the above issues are firewall issues, but can't figure out why I wouldn't be able to access such services locally as I anyway do not plan to expose them to the internet. Any pointers how to make that work would help!
File
->Open
does not work as some components won't run when just loading static HTML files so I need to serve that as a local webserver. No need to run an Onion Service (unless that makes it easier).python3 -m http.server 34343
. Now you place a HTML file into that directory and point your browser to 127.0.0.1:34343python3 -m http.server 34343
and then openedhttp://127.0.0.1:34343
as well ashttp://0.0.0.0:34343
but the Tor Browser simply saysUnable to connect. Firefox can't establish a connection to the server at 0.0.0.0:34343
.