Can I join a local server while not connected to the internet?

Discussion in 'Spigot Discussion' started by SpencerNold, Jul 7, 2021.

  1. I'm going on a road trip, and I would like to work on some of my projects while I'm not driving. I can't test my code without a server to test it on, and I was wondering if I can still connect to a server, even if I am not connected to the internet, as no outbound or inbound connections are really happening, as it is local.
  2. Set online-mode to false in file, this would allow you to connect your server without an internet connection. If you use BungeeCord, do that for it as well (in config.yml file).
    • Winner Winner x 1
  3. You could also pretty easily test this by just turning internet off before the road trip.
  4. Yes you can if the server is listening on the Local Area Network interface. You can check if the server is listening on the LAN interface by using net stat. You could also disable the firewall temporarily to see if this is the cause of your problem.