r/MinecraftServer • u/[deleted] • Jul 21 '26
Help [java] How did someone find my Minecraft server
45
u/Jwhodis Jul 21 '26 edited Jul 21 '26
There are a limited number of IP addresses ranging from 0.0.0.0 to 255.255.255.255, while that is still >4 billion combinations a lot are reserved for local usage.
It's not hard to setup a bot that goes through every single IP and tries to connect to it.
What you should do is enable whitelist, and if on a cracked/offline server disable the player list in the server.properties file.
11
10
2
u/Necessary_Monk3680 Jul 21 '26
hey on a sidenote can you inv me your server iām looking to play on one?(dm me if so)
1
u/FlynnIsOneAxolotl Aug 08 '26
not their server but if you want a fun no-pvp experince join https://discord.gg/PY6hz9qED9 ip is wafer-yang.gl.joinmc.link but u need to join discord first to get whitelisted
2
u/Standard-Cap-4455 Jul 21 '26
It's on the internet. There are scrappers everywhere. If you have anything connected to the internet accepting request, ALWAYS make sure to have a whitelist or some other way of identifying requests. Minecraft servers are espcially easy to find since there are so many and most use the default port.
1
u/Main-Witness7961 Jul 21 '26
Your server might have the same IP as the other servers where the exploiter joined and he probably scanned all ports for that ip to find other servers with that IP. Also, having it whitelisted is not enough. Sometimes the exploiter will just scout for any whitelisted players on your servers and just join on that one.
1
1
u/lolokok37 Jul 21 '26
if you use a free hosting service, they sometimes have open lobbies. so anyone can join
1
u/hiimsteve311 Jul 21 '26
At least you found out kindly. In our server, we had a griefer. Thankfully we had backups!
1
u/PatienceNew8307 Jul 21 '26
Bots scan ip's and find available connections. For private servers always use whitelist. If you have online-mode in serverproperties off anybody can put ur username in their launcher and log on to the server using your name, even if you have whitelist on (credentials aren't verified on mojang side). For this scenario use whitelist + auth/login - plugins for spigot, bukkit, purpur, etc. or mods for forge, neoforge, fabric. But most likely if you are using a custom modpack no one would go through the hassle to find all the mods. Be aware, if you have automodpack it will make their job easier. As an addition you can change your default port from 25565 to something in range 1-65535. That way bots would have to scan additional 65535 combinations per 1 ip. So if your server ip is 123.456.789 and you have default port 25565 you just put 123.456.789 as ip to connect. Minecraft defaults to that port so in reality your friends connect to 123.456.789:25565 If you set port to 11111 your friend will just have to type something like ":11111" after the ip, so 123.456.789:11111 I myself had a vanilla+plugins server, and everyday I banned like 5-10 ip's. I think I still have ban-list somewhere.
1
u/Interesting-Fig3249 Jul 22 '26
If it was a server made by you from your own computer then its probably just luck or something but if its on minehut or a hosting server it can be joined by anyone unless you set up whitelist
1
1
1
u/R3D_T1G3R Jul 24 '26
Your server is probably publicly exposed and probably even on the default port.
1
1
u/Axami_A-F Jul 27 '26
There should be an option to add a ,,whitelist" which makes only certain players be able to join. Also W dude for warning you instead of grieffing (i wasnt so lucky)
1
u/BrianOnTheBrain Aug 16 '26
You need to share an IP address with others. I host a JAVA Minecraft on GCP, I will have a IP for the VM.
4
Jul 21 '26
[removed] ā view removed comment
2
1
u/Plutonium239Mixer Jul 24 '26
Yeah that damn thing tries to log into my server at least once per day if not more!
0
Jul 21 '26
[deleted]
2
u/RaspDonut Jul 25 '26
Yep, experienced it first hand...
Had a server with friends, we played like 2 weeks, and I personnally was playing a lot. And then someday I connect, and see a lavacast all over my base.
The guys were telling us they did this to force us to pay the game. We all had bought accounts, but made the server cracked for 1 friend that was too poor to afford the game. These guys are litteraly evil.
0
Jul 21 '26
[deleted]
1
u/FrontAd8867 Jul 25 '26
As someone who used to server scan
I'm still surprised how many private smps are un whitelisted
ā¢
u/AutoModerator Jul 21 '26
Cozy MC ā a long-term vanilla survival Minecraft server where community comes first. Java + Bedrock crossplay, no world resets, no claims, no locked chests, PvP by agreement only, and a calm active SMP community. Official website and Java IP: CozyMC.com
Godlike Host - Modded servers with high player counts & High-performance AMD Ryzen processors. Choose Godlike now: https://godlike.host/gaf-play-minecraft
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.