Why host a server at a home, with the security catastrophe that invites ot your local network, instead of running your peer node on a rented machine in a cloud or a colo, that you SSH into from your client?
To learn how to deal with the security catastrophe that is hosting your own stuff. Just putting your things on other people's servers doesn't necessarily make it secure.
Well, because I consume most of my media at home, so I’d much rather store it there instead of having to stream it from the internet. But I also like listening to my music when I’m out of the house, so I need a way to connect to my home when I’m on a different network.
Using a web browser with javascript enabled for all domains is magnitudes greater danger than running a static webserver.