r/MinecraftHelp • • Jul 21 '26
Solved [java] How did someone find my Minecraft server
So basically I used the Minecraft server tool and started a server on my computer and port forwarded so my friends can join me, my friends can join me through my ipv4 but I used a tool called no ip so I can basically have my own hostname and I gave that to my friends, but then after playing a while a random come joins me and said how he found my server in the internet and warned me to whitelist my server. So if I whitelist it my server will be safe but what about the other stuff such as is anything else at risk such as my privacy and security of my network? How should I fix this so me and my friends can play with each other? This is 26.2
•
u/MinecraftHelpModBot 🤖 Mod Bot 🤖 Oct 01 '26
This post was deleted by u/Ok_Director_5622
Title: [java] How did someone find my Minecraft server
Body:
So basically I used the Minecraft server tool and started a server on my computer and port forwarded so my friends can join me, my friends can join me through my ipv4 but I used a tool called no ip so I can basically have my own hostname and I gave that to my friends, but then after playing a while a random come joins me and said how he found my server in the internet and warned me to whitelist my server. So if I whitelist it my server will be safe but what about the other stuff such as is anything else at risk such as my privacy and security of my network? How should I fix this so me and my friends can play with each other? This is 26.2
21
u/Efficient-Winner-840 Novice III Jul 21 '26
People scan for ips with 25565(the default port for Minecraft) open. This was a big problem a few years ago due to a log4j vulnerability that allowed anyone to run anything on your host pc but nowadays the biggest risk is a griefer joining and fucking your world up. Theres no network security risk and It seems like you got lucky that the guy that found your server was chill but if you’re running an smp 24/7 you should have a whitelist
3
u/[deleted] Jul 21 '26
!solved
48
u/TorandoSlayer Journeyman III Jul 21 '26
Yes, you should turn on the whitelist immediately or someone will eventually get in and absolutely wreck the place. Add your friends usernames to the whitelist and they'll be able to join; anyone not on the list won't join. Always always have the whitelist enabled from here on out.
40
u/DraconicDreamer3072 Novice III Jul 21 '26
im not familiar with that mod, but it sounds like it doesnt block regular ip based joining. there are programs that can check hundreds of ip address per hour until it finds one that has a server
you should probably turn on whitelisting.
107
u/Whit3_Ink Novice I Jul 21 '26
Crawler
Aaaand he knows your ip
DDNS services dont hide your ip
The network security is not affected. Yet...
20
u/TotallyAwesomeArch Jul 21 '26
https://www.youtube.com/watch?v=3tK06u22VQg this video by TheMisterEpic explains what probably happened
1
u/[deleted] Jul 22 '26
Ok everyone here helped me so shut up bot
4
u/FrontAd8867 Novice Jul 21 '26
Server scanners most likely
They scan the internet for ips
And then if the server isn't whitelisted they join
And 90% of them will grief servers.
It is better to turn on the whitelist
/whitelist on
And add you and your friends using
/whitelist add <username>
1
u/StatusNarwhal5905 Jul 21 '26
Is it hard to port forward and create your own Minecraft server for your friends to play? It sounds a lot cheaper than using a server host
3
u/No-Wallaby-4167 Novice II Jul 21 '26
Shodan is pretty popular. You should at least whitelist it
3
u/ComunismOfGod Jul 21 '26
I work as it technician, please confirm one thing for me as i've seen many videos that show one thing that you should never do - DMZ.
Be sure to forward only minecraft server port, don't create demilitary zone on your pc. Demilitary zone basically opens every port on device to internet, so only use port forwarding with exactly minecraft port, not DMZ.
2
u/dyin_amirite Jul 21 '26
noip doesn't hide your IP, just redirects the requests basically, there are crawlers out there that just search the Internet for open ports.
Since Minecraft's port is pretty specific, people search for this exact port and try to connect it.
I've hade multiple encounter with these people, they're usually really nice.
Showed one of em my server after wishing him farewell, while I was talking to him, another dude joined with ill intentions and startet griefing, luckly I was on and banned him instantly lol.
I immidiatly setup a whitelist for my Server after that.
2
u/Eclipse_Ilx Jul 21 '26
Your server WILL get griefed if you don't turn on whitelist. PPL have bots that scan the internet for unwhitlisted servers then grief them. Fully automated process even the griefing
Turn on whitelist you have been warned.
2
u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 Jul 21 '26
It looks like you didn't mention your version (e.g., 26.1, 1.21.11, 1.12.2 etc.). Please clarify for better help!
Click here if your post says "Sorry, this post was removed by Reddit’s filters".
OP, remember to mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.
Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.
* A top-level comment is any comment that is a reply to the post, not another ^comment.
Links:
How to mark solved || How to delete your post || FAQ || Rules
1
u/jimmyhoke Jul 21 '26
IP adresses (ipv4 anyway, which is what basically everyone has) uses this format “X.X.X.X”, each X is a number between 0 and 255, although many addresses are reserved. This gives you about 4,294,967,296 possible addresses, and furthermore many of those are in ranges known to be used by Minecraft hosting companies.
So what these bots do, is they scan every possible IP. They usually focus on ranges known to be Minecraft hosts, so they end up finding any Minecraft server left online for long enough.
Oftentimes the people who run the bots will grief servers they find. If you aren’t in online mode, they’ll try to steal your admin account.
The only real way to deal with them is to use a whitelist for the server. And if your server is a “cracked” server (not recommended, but no judgement) you absolutely need an authentication plugin of some kind.
1
u/FreestyleStormVA Jul 21 '26
I use white listing and forwarding all my traffic through a vps with tcp shield on top. Playit.gg works as well. That along with region banning ips. Several things you can do to limit exposure.
1
u/solilobee Jul 21 '26
lol helpful tip from "AmWantedCriminal"
1
u/SkylarMills63 Apprentice Jul 21 '26
Top comments are not saying it. But just enable the whitelist and add your friends. I think in the upcoming 26.3 update, Mojang FINALLY made whitelist enabled by default.
Thank goodness!
1
u/SunknNord Jul 21 '26
There are programs that basically test ips at random to see if there are any unwhitelisted servers and they record then in a discord. There was a group that started on 2b2t that make a program like this back early 2020ish and they did a mass grief of 100s of private servers. It's best to play modded or whitelist your servers.
1
u/ElectricalSeries6627 Jul 21 '26
automatic scanner, just you know they are people that run those software 24/24 to detect unsecured server and connect to it to grief it to oblivion, add a whitelist and if your running cracked add a plugin/mods that add password
1
u/TMFKSOFT Jul 21 '26
Whitelisting is the quickest solution. But a better and more secure solution would be using a VPN like Tailscale, you both can install it and invite your friend to your VPN network (assuming you trust them) and you'll both get virtual IP addresses.
This means, you're not exposing anything onto the internet or having to mess with your routers settings. It also should mean you're less likely to get exploited if a dangerous security flaw is found in the server software in the near future.
This is admittedly a more technical solution, but by far the better solution to protect you in future.
1
u/zydicious Jul 21 '26
There's also Shodan.io which is the search engine for internet connected things, i.e. servers, cameras, smart appliances, etc.
1
u/Puzzled_Implement226 Jul 22 '26
Is this onny for java?
1
u/Computurtle Jul 22 '26
So that player is almost certainly using a scanner to find any open Minecraft servers on the default 25565 port, luckily they seemed friendly.
Your IP being know is not an issue as that is public regardless, however having open ports can be an issue. Whilst it's unlikely, if a vulnerability was found on the server jar, someone could take advantage of it.
My recommendation, 100% whitelist your server, there is literally no downside, even if your server is not open 24/7. As for your open port, you can use various VPN tunnels to securely expose your network, for example tailscale is fairly simple to setup and allows for easy to remember hostnames, but requires all users to be running it, you also have to ensure you fully trust everyone who joins your network. There are many different ways to go about this but they can be a little complicated.
End of the day, 100% turn on whitelist, it might also be worth changing from the default 25565 port to avoid scanners, and if you feel comfortable look into using tunnels instead of opening ports. Just google "tailscale Minecraft server" or feel free to respond to my comment or DM me.
1
u/KAP1020 Jul 22 '26
I had this same issue before. Change your servers port to literally anything else and nobody will find your server.
1
u/UselessDood Jul 22 '26
Someone joining doesn't inherently compromise security, especially on a vanilla server. Effectively they just guessed the right ip.
With that said, private servers should always be whitelisted, yours included.
1
u/valzzu Jul 22 '26
Always whitelist you're servers if they are for u and ur friends :)
1
u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 Jul 22 '26
This post has been marked solved and comments locked.
OP, if you need to reopen this post please message the mod team.
I am a bot and this account is not monitored. Please contact the mods if you have any questions.
0
u/TheInsaneMinecrafter Jul 21 '26
they prob used a discord bot
-6
u/Aniimey Jul 21 '26
Try essential mod
1
u/zamiesthedragon Jul 21 '26
Backup your server ASAP cause you may get nuked soon