There are many different ways to set-up both Bitcoin and Tor depending on what you want to do exactly.
It is different if you are running on windows or linux and/or if you want to be a client or a server, for example.
I have active Tor nodes and a basic guide here (which may help you):
Bitcoin (BTC) on Tor addnodes Project
- https://bitcointalksearch.org/topic/ann-bitcoin-btc-on-tor-addnodes-project-5177001
To answer your question, if you are on linux and you used standard ephemeral .onion hidden_service generation then your .onion address is located here:
-externalip=X You can tell bitcoin about its publicly reachable address using
this option, and this can be a .onion address. Given the above
configuration, you can find your .onion address in
/var/lib/tor/bitcoin-service/hostname. For connections
coming from unroutable addresses (such as 127.0.0.1, where the
Tor proxy typically runs), .onion addresses are given
preference for your node to advertise itself with.
- https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md
...
Depending on what your doing you can also locate the corresponding (ephemeral) private key here:
cd ~/.bitcoin && sudo nano onion_private_key
RSA1024: ...
(make sure you stop tor and bitcoin first and backup your keys and wallets etc.,)
Also,
sudo nano /var/lib/tor/bitcoin-service/hostname
sudo nano /var/lib/tor/bitcoin-service/private_key
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
...
The above should provide a good idea of how to copy, backup and/or replace the keys ...
I'm working on some very detailed graphical guides, however community interest, funding opportunities and sponsorship in these matters seems low to none existent at present.
Good luck!
P.S. You might think that someone would want to sponsor fast, dedicated Tor seed nodes for Bitcoin! *shrugs*
I am currently running a Tor node on a linux Laptop and want to connect my Node on my Windows machine to it and it only. How do i get my windows node to only connect to it. when i looked for my Tor node Ip it was an ipv4 not a .onion