How to use a desktop as an offline server for minecraft so you re not using your internet data?

How to use a desktop as an offline server for minecraft so you re not using your internet data?

Yes.

Follow the directions to install, configure and start the server.

Now to connect your server, simply use the special address: 127.0.0.1 This is a special address that refers to "This Machine". You can also use the special name, localhost. Either will work.