Jump to content

Server ran locally wont boot after blocking a certain IP address


WannabeGuru

Recommended Posts

So I am running a server locally and I had an IP address from Lithuania try to log into my server, I quickly blocked the IP and when i went to go reboot the server I got this error 

[22:07:34] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "141...60"

 

the beginning and end of that IP is the Lithuania address, and I even spun up new servers and different server versions with all blocking that IP and it does not boot at all. There should be no reason why Java is calling out to that address and I was curious if anyone else has run into this issue. 

 

I got the forge server installer from this website, it is the 1.20.1.jar file. 

 

Any info would be awesome!

 

Thanks

Link to comment
Share on other sites

You can use websites like https://jsonlint.com/ to validate the format of json files.

You added the IP address to the json file incorrectly. Use the in-game commands to ban the IP address instead of manually editing the json.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.