How To Host A Minecraft Server On An Ubuntu Virtual Private Server (VPS)

Sdílet
Vložit
  • čas přidán 20. 08. 2024

Komentáře • 155

  • @Websplaining
    @Websplaining  Před rokem +1

    Free $200 in OVH cloud credit for new customers using my referral link: bit.ly/ovh-websplaining

    • @Soumyajit_Giri
      @Soumyajit_Giri Před 5 měsíci

      [12:15:16 WARN]: **** FAILED TO BIND TO PORT!
      [12:15:16 WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Cannot assign requested address
      [12:15:16 WARN]: Perhaps a server is already running on that port?
      [12:15:16 ERROR]: Encountered an unexpected exception
      java.lang.IllegalStateException: Failed to bind to port
      at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:268) ~[paper-1.20.4.jar:git-Paper-436]
      at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-436]
      at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-436]
      at java.lang.Thread.run(Thread.java:1583) ~[?:?]
      Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Cannot assign requested address
      [12:15:16 ERROR]: This crash report has been saved to: /workspace/cloudserver/./crash-reports/crash-2024-03-02_12.15.16-server.txt
      [12:15:16 INFO]: Stopping server

  • @Websplaining
    @Websplaining  Před rokem +1

    [NEW VID] How To Create A Minecraft: Java Edition 1.20 Server On An Ubuntu Cloud Server (VPS) - Trails & Tales czcams.com/video/hqpubLlswTY/video.html

  • @Websplaining
    @Websplaining  Před 3 lety +21

    [IMPORTANT] Minecraft: Java Edition servers now require a minimum of Java 17 or above to run. In the video Java 14 is installed. Replace the number 14 with the latest version of Java. For example as of today the latest version of Java for Linux Ubuntu 21.04 is 17. Enter the following command in the terminal without the quotations "sudo apt install openjdk-17-jre-headless"

    • @samlatifian3203
      @samlatifian3203 Před 3 lety

      but it gives an error that says: Unable to locate package openjdk-17-jre-headless, i think u better use java 16 bc ubuntu 20 doesnt support java 17 (i have ubuntu 20)

    • @Websplaining
      @Websplaining  Před 3 lety

      I recommend installing the latest release version of Java on the latest ubuntu release. As of today, 17th June 2021 the latest Ubuntu release is 21.04. This version of Ubuntu OS supports Java 17 which is the latest release as of 17th June 2021. However, if you have a lower version of Ubuntu install the latest java release for that version. The java you install must be equal to or above Java 17.

    • @arminbug
      @arminbug Před 3 lety

      @Websplaining Hi thanks for your education I have problem:
      I have ubuntu-20.04-x86_64
      I use this command to install java:
      sudo apt install openjdk-16-jre-headless.
      java -version:
      openjdk version "16.0.1" 2021-04-20
      then:
      sudo java -Xmx2048M -Xms2048M -jar server.jar nogui
      sudo: unable to resolve host gsdhf-21323: Name or service not known
      Unsupported Java detected (60.0). Only up to Java 13 is supported.

    • @TitaniumTronic
      @TitaniumTronic Před 3 lety

      @@Websplaining hi, I have goormide vps and im encountering soo much problems on it, please make an updated video on how to make a 1.17.1 paper or tuinity server on goormide vps pls broo, please. Thanks

    • @Websplaining
      @Websplaining  Před 2 lety

      Hi Titanium, the process demonstrated in this video is still the same for the latest version of Minecraft. The only change you need to make is what I mentioned in the above pinned comment.

  • @Abadion12
    @Abadion12 Před rokem +6

    remember to open your servers port!
    sudo ufw allow 25565

    • @zuwj
      @zuwj Před rokem +2

      Thank you I wasnt able to join my server

  • @sabotagethefool
    @sabotagethefool Před 3 lety +6

    My man, this is EXACTLY what I needed, calm and well explained thank you SO MUCH! Also, that doesn't sound like any part of Ireland I know :P Where abouts is that accent from? Much love from the wee north ;P
    Edit: Oh also; is there an easy way to reaccess the server commands if I close Putty and come back to it?

  • @bhopping
    @bhopping Před 2 lety +2

    Thank you so much! I was messing around for about 3 hours before finding this video trying to figure stuff out and this helped a lot.

  • @EZzz_Dakshu
    @EZzz_Dakshu Před 4 měsíci +1

    How to setup nodes? 😢

  • @axel0w
    @axel0w Před 7 měsíci +1

    i love you so much for this tutorial

  • @ecliqse1418
    @ecliqse1418 Před 2 lety +1

    Awesome tutorial!

  • @TheJm203
    @TheJm203 Před 6 měsíci

    personaly i dont have to buy ovh cloud since my pc got good ryzen processor and 64g ram i can still do my own virtual private server and run the serveur by my self without any problem

  • @clashwithcolin4696
    @clashwithcolin4696 Před 2 lety +1

    It says can’t connect to server, pls help

    • @colin7170
      @colin7170 Před 2 lety +1

      Same Account here, it works now, thank you so much

  • @armanazadgar2324
    @armanazadgar2324 Před 14 dny

    How can I install my plugins on it?

  • @aldrovin5190
    @aldrovin5190 Před 3 lety +1

    Great videos!

  • @rekux1707
    @rekux1707 Před 3 lety +4

    Thank you, everything works of course, paw u and sub!

  • @magiccharge705
    @magiccharge705 Před 3 lety +3

    Hey, how would I delete the pre-installed world file? It keeps saying "Permission Denied".

    • @Websplaining
      @Websplaining  Před 3 lety +1

      Hi Magic, make sure you're logged into your server as root.

    • @turboblack6997
      @turboblack6997 Před 2 lety

      @@Websplaining how from where i get pasword to this ???!?!

  • @borbor9649
    @borbor9649 Před rokem

    I restarted the server via my hosting. but now the server doesnt open. How do i fix this?

  • @bkan1610
    @bkan1610 Před 2 lety

    Ps you can boot or make a virtual matchine on linux server 20.04 for a vps, you can use an old laptop or pc

    • @Websplaining
      @Websplaining  Před 2 lety

      Yup, you can indeed however that would be a self hosted server and not a server on a Virtual Private Server which is what this video guide is for.

  • @ezb_ai
    @ezb_ai Před 3 lety +1

    hi, help please ASAP!
    sudo java -Xmx1024M -Xms1024M -jar server.jar nogui
    gives
    Error: LinkageError occurred while loading main class net.minecraft.server.Main java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more rec ent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recogniz es class file versions up to 58.0
    do you recognize this issue? if so kindly explain how to fix it. I've tried everything and I'm very frusterated

    • @Websplaining
      @Websplaining  Před 3 lety +1

      Minecraft: Java Edition servers now require a minimum of Java 16 or above to run. In the video Java 14 is installed. Replace the number 14 with the latest version of Java. For example as of today the latest version of Java for Linux Ubuntu is 17. Enter the following command in the terminal without the quotations "sudo apt install openjdk-17-jre-headless"

  • @mbill7113
    @mbill7113 Před rokem

    How do I restart the Server after I stopped it?

  • @smartkrafter2853
    @smartkrafter2853 Před rokem

    Can you tell me how I can place my own Minecraft world on the server?

  • @meeckamc
    @meeckamc Před 3 lety

    What’s the recommended plan for a bungee cord server?

  • @trqstme7977
    @trqstme7977 Před 3 lety +1

    thank you so much will use it for my community

    • @Websplaining
      @Websplaining  Před 3 lety

      You're welcome TrqsMe! I am glad I could help!

  • @AbsentPFP
    @AbsentPFP Před 4 měsíci

    does this work for bedrock

  • @Bbhamadama888
    @Bbhamadama888 Před 2 lety

    if i close down the minecraft server, will it also close down the server??

  • @QuintGecko
    @QuintGecko Před 2 lety

    not worked. and followed everything here.

  • @louismack8409
    @louismack8409 Před rokem

    can someone help me with putty its not letting me do the password?

  • @CoccusMC
    @CoccusMC Před 3 lety

    I cant find the 1.7.10 server download

  • @Mark-xp4fw
    @Mark-xp4fw Před 5 měsíci

    Does this work with modpacks for minecraft?

  • @franciscodeleon3807
    @franciscodeleon3807 Před rokem

    don´t let put the password on PuTTY, help pls

  • @jakob8251
    @jakob8251 Před 3 lety +1

    Thanks for the tutorial but how to I get back into the server console if I closed Terminus/putty?

  • @mangaltiwary9378
    @mangaltiwary9378 Před 11 měsíci

    How to in diban

  • @wiseguygamer7593
    @wiseguygamer7593 Před 3 lety

    how would you make a paper Minecraft server

  • @viktoraggerholm5102
    @viktoraggerholm5102 Před 3 lety

    now how do I access the console so I can start the server again?

    • @Websplaining
      @Websplaining  Před 3 lety

      Reconnect to your server using PuTTY via SSH.

  • @laptoszek9633
    @laptoszek9633 Před rokem

    thx bro

  • @arikas5983
    @arikas5983 Před rokem

    its not working to me :(

    • @jx5b
      @jx5b Před 11 měsíci

      Then you did something wrong what can i say..

  • @carnotr9038
    @carnotr9038 Před 5 měsíci

    Bravo mn

  • @khanguel
    @khanguel Před 3 lety

    can you please make a video how to install call of duty 2, you do very well

  • @DSDitectivesGamingTech

    how to change version of game

    • @Websplaining
      @Websplaining  Před 2 lety

      Do you mean the server or your launcher? If you meant the server version, you need to replace the latest server.jar file with an older server.jar and start your server once again.

  • @splooshyrblx1637
    @splooshyrblx1637 Před 3 lety

    when trying to op myself, putty responds with "op : command not found". any solutions?

  • @LloydsChill
    @LloydsChill Před rokem

    Is it possible to run a Bedrock Server on an Ubuntu Cloud Server (VPS) I cant seem to find a set up for it anywhere

    • @jx5b
      @jx5b Před 11 měsíci

      I mean it should be possible. Just make normal dedicated server for bedrock edition and then place it in your VPS and run it same as this. Of course not exactly but it should be simular to this.

  • @mooseteng9990
    @mooseteng9990 Před 2 lety

    If i turn off my PC, when minecraft server is on via VPS, will my server get shut down too?

    • @Websplaining
      @Websplaining  Před 2 lety

      Hi Moose, it will stay online as the server is hosted on a VPS now instead of your own selfhosted local machine.

  • @SwioUploads
    @SwioUploads Před 3 lety

    Hello! So i was wondering, if i close out the terminal for putty, but i still want to enter in a command, how would i get back into that session, because following the same steps odesnt seems to work as it says, "this ip is already in use"

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      you have to cd minecraft, then do screen -r. If it says that there is no screen to resume, then do java -Xmx1024M -Xms1024M -jar server.jar nogui to start it again. If you stop the server, you will have to write the command again, If its still running, just do screen -r.

    • @404usernotfound10
      @404usernotfound10 Před 2 měsíci

      @@PolishPenguinDev thanks

  • @kenethmartinez9599
    @kenethmartinez9599 Před 3 lety

    how many players can load with the essentials pack? 4gb ram 2vcore

  • @YPGaming0
    @YPGaming0 Před rokem

    I can free use?

  • @bisects
    @bisects Před 3 lety

    do my friends need to download anything to join the server?

  • @AetherixStore
    @AetherixStore Před 2 lety

    tell us how to make a 24/7 host Minecraft host with pterodactyl and website all details like this video i will sub and waiting for this video

  • @rxversed1891
    @rxversed1891 Před 3 lety +2

    How do I change versions? I want my server to be on 1.8.9

  • @bobi9463
    @bobi9463 Před 3 lety

    Can i add multiple servers to my vps?

    • @Websplaining
      @Websplaining  Před 3 lety

      Yup, you can add as many as you want. You may limited on how many you can run simultaneously as that depends on your server specs.

  • @patrikasilg.4963
    @patrikasilg.4963 Před 3 lety

    I need help when i Write sudo apt install openjdk-14-jre-headless i get this E: Unable to locate package openjdk-14-jre-headless . HELP!

    • @Websplaining
      @Websplaining  Před 3 lety

      Hi Cpalx, all commands are in the video description.

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      Hi there! I got the same error, and just write the following commands
      "sudo add-apt-repository ppa:openjdk-r/ppa
      sudo apt-get update
      sudo apt-get install openjdk-16-jre-headless" without the quotation marks (" ")
      If that does not work, try sudo apt-get upgrade. I'm using ubuntu 16.04 of linode and it worked for me. (make sure its java 16, java 14 is no longer supported by the latest version of minecraft)
      also make sure you did sudo apt-get update and sudo apt-get upgrade.

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      also java 17 is out now

  • @kylexplor
    @kylexplor Před 2 lety

    how can i remove the server?

    • @Websplaining
      @Websplaining  Před 2 lety

      The OVH server? or the Minecraft Server that you have made on the OVH server?

  • @diegoc5616
    @diegoc5616 Před 2 lety

    Hello, my friends don't have minecraft premium and I would like to ask if there is any way they can join the server.

    • @kaize02
      @kaize02 Před rokem

      server.propeties > online-mode=false

    • @chua8318
      @chua8318 Před měsícem

      can premium and cracked minecraft friends play tgt? im sorry im new to this🥲

  • @talyongaming
    @talyongaming Před 3 lety

    is this same as dedicated server?

    • @Websplaining
      @Websplaining  Před 3 lety

      Hi Han, no, A dedicated server is server with all it's resources exclusively to you. The setup for a dedicated server is exactly the same as a VPS. The difference is the price and the performance. I hope that answers your question!

  • @kylexplor
    @kylexplor Před 2 lety

    why it just said fail to verify username?

    • @Websplaining
      @Websplaining  Před 2 lety

      Hi Kyle, this video should solve your issue czcams.com/video/p2TeLs06goQ/video.html

    • @kylexplor
      @kylexplor Před 2 lety

      @@Websplaining and i have another question is how can i delete the old port i just made?

    • @kylexplor
      @kylexplor Před 2 lety

      i just accidentally delete it

  • @dwajdawjawodjawo
    @dwajdawjawodjawo Před rokem

    hey dude would this work for windows server 2019?

    • @Websplaining
      @Websplaining  Před rokem

      This video is for Ubuntu OS.

    • @dwajdawjawodjawo
      @dwajdawjawodjawo Před rokem

      @@Websplaining woah that was fast can you tell me or link me a video about how i can host a minecraft server on a windows server vps?

    • @Websplaining
      @Websplaining  Před rokem

      @@dwajdawjawodjawo Here you go czcams.com/video/5Yc0wPNYHgU/video.html make sure you read the pinned comment for that video.

  • @OVERSITE
    @OVERSITE Před 3 lety

    "Permission Denied". help fpt

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      Make sure your logged in as root, If not make sure your account is in the sudo group. To test this out, write sudo before the command, and It should ask you for your password, one entered, the command should work. Also what is "fpt" do you mean "sftp"? If so, you must use sftp on port 22, not ftp on port 21. Ftp does not work with this tutorial.

  • @Axomio123
    @Axomio123 Před 3 lety

    how do i stop it?

  • @Axomio123
    @Axomio123 Před 3 lety

    can you add plugins?
    and if so how?

    • @prollhouse2494
      @prollhouse2494 Před 3 lety +1

      inside ur minecraft folder make a folder named plugins and add them through there

    • @viktoraggerholm5102
      @viktoraggerholm5102 Před 3 lety +2

      you need to install a new server jar, such as spigot, papermc or tuinity

  • @Max-dq5sd
    @Max-dq5sd Před 3 lety

    now my Server go so HOT wow

  • @_E.M_03
    @_E.M_03 Před 2 lety

    unable to locate java

    • @Websplaining
      @Websplaining  Před 2 lety

      Hi Turry, check my pinned comment above.

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      Hi there! I got the same error, and just write the following commands
      "sudo add-apt-repository ppa:openjdk-r/ppa
      sudo apt-get update
      sudo apt-get install openjdk-16-jre-headless" without the quotation marks (" ")
      If that does not work, try sudo apt-get upgrade. I'm using ubuntu 16.04 of linode and it worked for me. (make sure its java 16, java 14 is no longer supported by the latest version of minecraft)
      make sure you do sudo apt-get update and sudo apt-get upgrade. Also java 17 is out now.

  • @CoccusMC
    @CoccusMC Před 3 lety

    How do i instal plugins as its a factions server

    • @PolishPenguinDev
      @PolishPenguinDev Před 2 lety

      If you need plugins i'm pretty sure you need spigot/papermc/bukkit but I'm not sure, I'm also trying to install plugins. Someone said you can create a plugins folder and put a jar in there, but I didn't test that out yet.

  • @whiteofsky7344
    @whiteofsky7344 Před 2 lety

    Is that server 24 hours open or?

  • @afnanksalal
    @afnanksalal Před 3 lety

    just some corrections ,
    1) in the description u have written "sudo apt install openjdk-17-jre-headless" . it need to be 16 because 17 is not published
    2) you have written "cd Minecraft" it need to be "minecraft" or else it wont detect the directory

  • @shizukahaze
    @shizukahaze Před 3 lety

    how do i stop the server

    • @Websplaining
      @Websplaining  Před 3 lety

      Hi Jpaul, type "stop" without the quotations into the terminal window.

    • @shizukahaze
      @shizukahaze Před 3 lety

      @@Websplaining i accidently close the putty then i open it back now idk whre to type.

    • @Websplaining
      @Websplaining  Před 3 lety

      @@shizukahaze is your server still running? To check try joining your server, if you can connect then it's still running. Let me know and then I can advise you better paul

    • @OVERSITE
      @OVERSITE Před 3 lety

      @@Websplaining
      how to get back to the server console?

    • @zircan8854
      @zircan8854 Před 3 lety

      Mine says command not found

  • @seruch3389
    @seruch3389 Před rokem

    is this server global or local????

    • @Websplaining
      @Websplaining  Před rokem +1

      Hi Seruch, this video shows you how to make a multiplayer Minecraft Java server hosted on a global server host provider.

    • @seruch3389
      @seruch3389 Před rokem

      ​@@Websplaining I thought it could be free and you will show instruction how to create own VPS(not buy). Because nobody want to waste 3$ per month for just minecraft server.

  • @inabyt
    @inabyt Před 2 lety

    sudo apt install openjdk-18-jre-headless for 1.19

  • @talyongaming
    @talyongaming Před 2 lety

    you said if i turn off my computer the server running why my server not running if i turn off my computer can u explain?

    • @brujojr7988
      @brujojr7988 Před 2 lety

      Did you use screen to start the session?

  • @tomboconmandrixn.6177
    @tomboconmandrixn.6177 Před 3 lety

    How using windows?

    • @tomboconmandrixn.6177
      @tomboconmandrixn.6177 Před 3 lety +1

      I downloaded the server alpha

    • @Websplaining
      @Websplaining  Před 3 lety +2

      This is for Ubuntu. For Windows check out this video czcams.com/video/5Yc0wPNYHgU/video.html

    • @Websplaining
      @Websplaining  Před 3 lety

      @@tomboconmandrixn.6177 This guide is for a Vanilla Minecraft server on OVH server host.

  • @adityakamble450
    @adityakamble450 Před 3 lety

    working

  • @TechnoSnipeOfficial
    @TechnoSnipeOfficial Před 3 lety

    is ovhcloud still good?

    • @Websplaining
      @Websplaining  Před 3 lety

      Yup! OVH is still a great server host. Personally, I use Vultr now. You can check out this video if you would like to setup a Minecraft server on a Vultr VPS czcams.com/video/dD8IDi2wEWk/video.html

    • @TechnoSnipeOfficial
      @TechnoSnipeOfficial Před 3 lety

      @@Websplaining Yeah i was thinking of getting one but i looked at the reviews and i heard they have bad support so i decided not too.

    • @TechnoSnipeOfficial
      @TechnoSnipeOfficial Před 3 lety

      @@Websplaining I may think about using vultr to run a minecraft server and for a few other things.

    • @Websplaining
      @Websplaining  Před 3 lety

      @@TechnoSnipeOfficial You can test out vultr with my referral link, You can get $100 free promo credit. The referral link is in that videos description that I linked.

    • @TechnoSnipeOfficial
      @TechnoSnipeOfficial Před 3 lety

      @@Websplaining i already signed up god dang it. well rip the 100$ free credit.

  • @Nazyms
    @Nazyms Před 3 lety

    comment