I'm new to Tor, and so far I've managed to get public & secret keys. But when I try to run my public key on my Tor browser, it says "Unable to Connect" and the sub-line is "Firefox can't establish a connection to the server at localhost."

I've followed the instructions many times and also watched some videos but no luck. And almost everytime I configured Tor, I see this message "Congratulations. This browser is configured to use Tor.", but still can't access my onion site.

So please guide me where I'm making a mistake or what steps do I need to follow to configure Tor browser correctly to do the task. Also do I need Xampp/Wampp local server for this? If yes! than I'm already using Xampp. After messing with it for many days it is still confusing to me. So please guide me with best practices or solution. thanks.

  • Sounds like your hidden service is correctly configured in your Tor, but your web server has its hostname set to localhost and to return a Content-location or Location header. See if you can config your web server to not care about hostname or set it to your onion address.
    – Jobiwan
    Nov 23, 2014 at 16:44
  • Thanks Jobiwan for your reply, Yes I got it fixed and can now open localhost with public key on my Tor Browser. But how can i publish it online now or in simple words how others can access my website with this key? Nov 23, 2014 at 18:48
  • If you can reach your hidden service through Tor, then anyone can. If you're asking how to advertise your hidden service, that might be worth a new question of its own, but I don't have a good answer to that one.
    – Jobiwan
    Nov 23, 2014 at 19:28
  • I'm referring just like we upload normal sites in hosting servers like Godaddy or Hostegator, do we need upload this too? If yes than how? f I'm wondering how other users can open my onion site, like i use to open like duckduckgo etc. Nov 24, 2014 at 14:07
  • Are you saying that other people can not connect to your hidden service now? Have you tested it? As I wrote before: If you can reach your hidden service through Tor, then anyone can.
    – Jobiwan
    Nov 24, 2014 at 14:34


You must log in to answer this question.

Browse other questions tagged .