Ifyou want to run a Minecraft multiplayer server by yourself things get kind of involved (see this wiki article for a tutorial). First make sure you can use java from the command line. On Linux and macOS this should already be set up but on Windows you might have to tinker with the PATH environment variable.
I have tried creating a rule in both ESET and Windows firewall to allow the connection, but that hasn't seemed to work. Attached are screenshots of the rule I have tried to create to allow the port. I left everything in the remote field completely blank.
I'm in the remote tab, and I don't see any option to change LAN/WAN. I tried switching the port from the local to remote tab and trying that, but that didn't seem to work. Is there a different IP I have to enter? The one for the router? I think the IP for the router is open on the port, but the one for the computer still says it is closed. Do both have to be open in order for people to connect?
By the exe, do you mean selecting the folder for the server under where it says applications in the local tab? Or something with inputting an IP in one of the fields? I tried both of those and neither worked, but I may have misunderstood your advice.
A portforward from the router to the local LAN address of the computer who have the minecraft server and also you need to make sure that the computer doesn't get a new IP from the router's DHCP so the portforward rule will not break.
Thank you everyone for your help! I finally got it working, and it turns out the problem was just that I was giving the other person the wrong IP to join the server, and nothing with ESET at all lol.
I just created a minecraft server and wanted to play with friends so i was going to host it with zrok but the problem is that the tutorial given to host minecraft server is through private share and i dont want all my friends to have complicated tools and access the server through commands to join i just want to do a public share soo how do i publicly share my minecraft server?
Hi @Proximity. At this point, public tcp ports are not offered by zrok. The easiest thing to do is to use your own virtual private server (vps) and run zrok on your home and on the vps. Then you expose the port from the vps.
After they played on vanilla for a while, the requests started to get more exotic. YouTube, a blessing and a curse for the modern dadmin. How about some resource packs? What about a forge server with WorldEdit and the create mod?
In fact, writing this post provided a great example of why this stack is so nice. I had been running things in an alpine java15 container, which I noticed today is, acoording to the README.md, now deprecated in favor of the java15/Debian version.
No, you'll have to go port based. Each entrypoint = 1 route to a minecraft server. To attach a hostname to it, you want to look into SRV records (DNS); SRV records can have pointers that if you visit
my.domain.fr it will look up not just the IP, but also the port for Minecraft.
Go to and download the version for the Arduino. Oh, wait. There isn't one. Perhaps the Windows one could be modified. It's only a 270 KB download. Should fit easily in the Arduino's 32 K of code space. Or not.
Yes, sure. It would be possible.
Making a Arduino run Java and then loads the minecraft_server.jar is hard, probably impossible,
But I've seen people make servers for minecraft that dont use Java at all; in fact they used c wich is similar to the arduino programming.
Grab the minecraft server spec, look at the protocol and data management requirements. See if you can come up with a design that will run on a Uno or a Mega and fit in the flash and ram and meet the performance requirements for the number of simultaneous clients you want to use the server.
It's hard to know where to start. My son is running a Minecraft server. To run at a reasonable speed it is on a PC with 4 Gb of RAM. You need Java, you need substantial amounts of memory to hold the world map, mobs, objects, players, etc.
The Minecraft world is made up of "chunks" of terrain. Each chunk is 16 x 16 x 128 blocks. So even if you stored a single byte per chunk (eg. the type of block) that is 32768 bytes for a world comprising a single chunk. The Arduino Uno has 2048 bytes. So you have a major problem straight away.
I wonder, however, if it might be fun (not practical but fun) to have the arduino in some way react to what's happening in-game. An idea might be to have the Arduino hooked up to a series of LED's which serve as a health meter. Even that, however, would be a tricky bit of programming.
Many people are here because they are new to the Arduino, and probably programming, too. These people, such as the OP, should be commended for getting their hands dirty and attempting to dive into a steep learning curve of micro controllers, electronics and low level programming languages.
PaulS works very hard here - he answers many many questions, quite a few of which I look at and think "gosh this person hasn't tried very hard to help themselves". But usually PaulS answers with a hint or prod in the right direction.
It would be different if you were trying something like a "line follower robot", found heaps of hits on Google, but were having a bit of trouble getting it to work. And if you posted your circuit, and your code. Then you would expect a courteous and helpful response. And I expect PaulS would give you one.
I find it a bit sad when posters here discourage people from exploring their ideas, which would provide a great learning experience and potentially amazing projects on an Arduino. Your project shows true hacking spirit.
I've been hosting an MC server for months without issues, but within the past couple days other people can't connect to it. I've had people try to connect when I temporarily disabled Windows Defender Firewall, Java Platform SE binary can communicate to both private and public networks, I've temporarily disabled Advanced Security in the xFi app, I've had people try to connect via my IPv4:25565 and IPv6:25565, deleted and recreated the 25565 port forward, and none of the mentioned methods work. I believe the issue lies somewhere in the port forwarding of the server, but I'm also starting to think there may be an issue on the backend with Xfinity that is out of my control.
Xfinity doesn't have their port forwarding correctly setup to port forward to your IPv6 address which is set as the default address if turned on. So turning off your IPv6 address will allow your IPv4 address to be used in the portforwarding process instead. I strongly recommend that Xfinity allows users to use the admin tool for portforwarding again so that this problem will not continue to occur.
@bwood91 No luck unfortunately. Been having this issue for a month and a bit and still no luck. Have you tried the typical methods, such as the method mentioned above, temporarily disabling your firewall, allowing Java SE Binary as an exception to your firewall, etc.?
open Xfinity Xfi app > click ur wifi name right on top next to the wifi icon > tap on "Advanced Security" > click the computer ur hosting on > Unathorized Access Attempt > Threat history> Allow Access
Me and my friends are having a Minecraft server on our Dropbox folder and whenever i start the sever it starts a new server and moves it into my home folder. If i already have a server in my home folder, it starts that one.
You need to cd to the folder within the terminal so if the minecraft_server.jar is in the folder /home/username/Dropbox/minecraft_server/ you'll first need to cd to the folder and then open it, like this
Check the ownership of the files in the dropbox folder with those that have been created in your home folder, compare the 2 different sets of ownership & permissions and make sure they are the same on both that you try and run.
LinkedIn and 3rd parties use essential and non-essential cookies to provide, secure, analyze and improve our Services, and to show you relevant ads (including professional and job ads) on and off LinkedIn. Learn more in our Cookie Policy.
My kids recently asked if they can start playing Minecraft with their friends. After a little discussion I discovered that they were all just playing single player and talking about it later. Well, we all know one of the joys of Minecraft is playing with your friends on a server - so I set about setting up a safe server space for them all.
Bedrock: this is the newer 'unified' version that allows cross platform play for every platform except Mac/Linux using the Bedrock Client. Java Edition: this is the original version (kept up to date) that allows cross play for Windows, Mac and Linux provided you are using the Java Edition Client.
After realising that Franck's tutorial is for Bedrock, and my kids would need Java I tried finding and following various tutorials online. Very few of them would work, simply because Amazon moves so quickly with the EC2 Instances, it's hard for tutorials to stay relevant. I even spent a good hour on the phone to a geek mate Jack Skinner to pick his brains looking at ports and routing, tcp/udp - to no avail.
You have a number of options for the type of instance you want. Franck managed to get Bedrock to run on a t2.micro, however the Java Edition is a bit more intense and so you will need a t2.small or a t2.medium to run, depending on how many connections you'll have. For 2 to 3 kids a t2.small will be fine. Once selected click Configure Instance Details.
Here you can enter a Name tag and a value for this. This will show up on the main instance screen and allows you to easily find it if you have lots of instances. You can also tag for a cost centre here too if you split/manage your billing with tags. The last screen is the Security Group screen.
3a8082e126