If you want to access your Minecraft server from another class or lab, all you need to remember is the server IP. Check out this post: Minecraft teachers: server ?
To access IP, go to multiplayer, create “new”, add your server IP. If you don’t know how to find the server IP, it is in the server permissions file in your server folder.