This question already has an answer here:
- How can I host my own Minecraft server? 4 answers
My problem is that I want me and my friend to be able to play on a survival world together, but we live at different locations. I know I can visit a hosting website but I don't want to pay money because it's just me and my friend. Would there be any way for us to play together without paying any money? My problem is different from that one because we don't want to connect through LAN he is at a different location than me.