I want to play with my friend on a minecraft LAN world that I made
I want to play with my friend on a minecraft LAN world that I made, and I don't know how. I tried realms but I figured out that you can't have mods on realms. After that i tried hosting my own minecraft server but because of my wireless internet it didn't work. I also tried a free server hosting one but that also didn't work. Could you please help me out? Me and her really want to do a minecraft roleplay together... I can't purchase a server either..
Solution 1:
You have two options to set up a server in this situation.
1 :
Use the open to lan function from the pause menu, note the port that it assigns to you
Open that port on your router, and forward it to your computer. (SuperUser would be the best place to ask how, not here).
Determine your external IP, and have your friend connect to it, with :'portnumber' on the end. (from the multiplayer window)
2:
-
Download the Minecraft Server file from microsoft and run that on your machine (or a spare if you have one)
Open the port 25565 on your router, and forward to your computer [or the spare] (as above, ask in SuperUser)
copy the 'save' folder from your machine .minecraft folder to either the folder where the server is running on your PC or the one on the spare machine. Run the server, and wait for it to setup the needed files. Close the server. Edit the server.properties file so the world name matches the folder name of the save you copied. set any other settings you want in there too. (if you get stuck, delete the server.properties file... it will recreate.
Connect your minecraft to either 127.0.0.1 if it ran on your machine, or the IP of the spare machine.
Determine your external IP, and have your friend connect to it, with :25565 on the end. (from the multiplayer window).
Before making any changes to anything, please take sensible backups! :)