Can't connect
i cant connect to the server, i have download the version which was recommeded for the setup i.e. 1.21.3 but i still cant connect to it. When i try to connect with "0" it says disconnected, i have tried with playit.gg, 127.0.0.1 and ipv4 as well but i still cant connect
61 Replies
Wtf is 1.127.0.0
try localhost

127.0.0.1*
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
β’ Go to https://aternos.org/log/.
On Minehut and server.pro:
β’ Go to the "files" tab in the left menu.
β’ Navigate to the root directory of your server.
β’ From there navigate to /logs/latest.log
.
What should I do with the log?
β’ First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
β’ If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
β’ If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
and disable any firewall for now
no plugin errors
send both client and server logs
use mclo.gs
ig the 8 errors are the "not up to date" errors
since the server is in 1.21.3
and the server/client are on the same machine?
yep
do you have any external antivirus or whatever? turn that off
nope
default
then disable windows defender firewall
did the server ever work before?
i just got it yesterday
same problem since first start
its already off

interesting
is the client modded? Like using fabric?
normal
minecraft
from minecraft launcher
and i can join other servers
like hypixel and stuff
interesting, ive never seen something like this. Try a vanilla server without plugins
if that works, binary search your plugins
!binary
Binary search your plugins
Remove half of your non-essential (ie not things like PAPI or LuckPerm) plugins and see if the problem is fixed.
If it still persists, the cause is in the half still installed.
Continue to halve the remaining plugins until you've narrowed it down to a single plugin.
Congratulations, you found the culprit.

Admincraft Canned Responses
i removed the 2 plugins which were giving errors
but still didnt work
thats not binary searching. Read the bot message

Vanilla?
Iβll honestly just nmap the server and see if the port is open
And check again if your ip is correct, if you are using the ipv4 address and dhcp
Nope
The same server
I used server wrapper
And it gave me this ip
Wtf is server wrapper
Try connecting on lan first
MC Server Soft - Free Minecraft Server Wrapper UI for Windows
A completely free server manager that you easily can host Minecraft servers with. Mcss is the oldest maintained Minecraft Server Wrapper for Windows.
Reduce the unnecessary components and see if the issue can be reproduced
if you cant connect with
localhost
then you screwed something upIts a paid setup
I just bought it
And no solution seems to be working
alright, im gonna clarify something
you are running the server AND client on the same computer?
and are you using your terminal to start the server or are you using a 3rd party software to do it
Yes
CMD
start.bat
show me what's in your batch file
Batch file?
start.bat

alright first of all, try this instead
Second of all, remove all of your plugins and try connecting like what was suggested before
i can
without plugins
So then the next step is
!binary
Binary search your plugins
Remove half of your non-essential (ie not things like PAPI or LuckPerm) plugins and see if the problem is fixed.
If it still persists, the cause is in the half still installed.
Continue to halve the remaining plugins until you've narrowed it down to a single plugin.
Congratulations, you found the culprit.

Admincraft Canned Responses
just like what was suggested before
yep it has something to do with the plugins
cuz i cant now
after adding plugins
so in that case, read through this and hopefully you will be able to find the culprit
ProtocolLib
π
is it up to date
or is the version you are using supported
i just uploaded the lastest version of it
but it didnt work
can i run the server without it?
So long as your other plugins don't depend on it
you can also ask the devs for help, I think they have a discord
citizens
depends on it

Try their latest dev build from their spigot page
this one too
new error

i have no idea, im not a developer
Thanks tho
at least now i know what the problem is
yeah sorry, best i can tell you to do is make an issue on their github