Tor Hidden Service displaying IP Address

I am a Cyber Security major. I'm fascinated by dark net sites and I wanted to start learning Tor so I decided to start a tor hidden service. I have two questions
1. When I connect to the Tor Hidden Service in the Tor browser it displays my server's IP Address after the page loads. Why is this happening and how do I stop it?
2. How do I configure the server so that someone connecting to the server's IP Address won't be served web pages? I was thinking about using a firewall but I thought that may block the Tor Hidden service.

Also recommendations on what to read to learn Tor and get better would be helpful.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EirmanChief Operations ManagerCommented:
Wikipedia and it's numerous links is always a great place to start.

This is a significant quote ....
Tor does not prevent an online service from determining when it is being accessed through Tor.
Tor protects a user's privacy, but does not hide the fact that someone is using Tor.
Some websites restrict allowances through Tor.
For example, the MediaWiki TorBlock extension automatically restricts edits made through Tor ...

You can combine the use of TOR with a VPN

WebRTC leaks, Google Analytics and Cookies can also cause security problems with TOR & VPNs.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.