Jump to content

Recommended Posts

Posted (edited)

I have a problem. When I create a regular vanilla Minecraft server anyone can connect to it, because the 25565 port is forwarded etc. But if I create a forge server, only I can connect to it using "localhost" for the IP. The person trying to connect has the same mod installed, and the same version of forge, but cant connect to the server or even see that the server is online. And neither can I if I enter my public IP (like 36.75x.xx.137). Im using 1.10.2 forge.

 

Log

Spoiler

[18:18:07] [Server thread/INFO]: Starting minecraft server version 1.10.2
[18:18:07] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_101]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_101]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_101]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_101]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_101]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_101]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_101]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_101]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_101]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
    at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:101) [ld$2.class:?]
[18:18:15] [Server thread/INFO]: Loading properties
[18:18:17] [Server thread/INFO]: Default game type: SURVIVAL
[18:18:17] [Server thread/INFO]: Generating keypair
[18:18:17] [Server thread/INFO]: Starting Minecraft server on *:25565
[18:18:17] [Server thread/INFO]: Using default channel type
[18:18:19] [Server thread/WARN]: Failed to load user banlist:
java.io.FileNotFoundException: banned-players.json (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_101]
    at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_101]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_101]
    at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.10.2.jar:?]
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:136) ~[mt.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_187246_z(SourceFile:99) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:25) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:18:19] [Server thread/WARN]: Failed to load ip banlist:
java.io.FileNotFoundException: banned-ips.json (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_101]
    at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_101]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_101]
    at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.10.2.jar:?]
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:136) ~[mt.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_187249_y(SourceFile:91) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:27) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:18:19] [Server thread/WARN]: Failed to load operators list:
java.io.FileNotFoundException: ops.json (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_101]
    at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_101]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_101]
    at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.10.2.jar:?]
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:136) ~[mt.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_72417_t(SourceFile:107) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:29) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:18:19] [Server thread/WARN]: Failed to load white-list:
java.io.FileNotFoundException: whitelist.json (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_101]
    at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_101]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_101]
    at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.10.2.jar:?]
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:136) ~[mt.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_72418_v(SourceFile:123) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:30) [lc.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:18:19] [Server thread/INFO]: Preparing level "world"
[18:18:25] [Server thread/INFO]: Preparing start region for level 0
[18:18:26] [Server thread/INFO]: Preparing spawn area: 0%
[18:18:27] [Server thread/INFO]: Preparing spawn area: 4%
[18:18:28] [Server thread/INFO]: Preparing spawn area: 5%
[18:18:30] [Server thread/INFO]: Preparing spawn area: 7%
[18:18:31] [Server thread/INFO]: Preparing spawn area: 9%
[18:18:32] [Server thread/INFO]: Preparing spawn area: 11%
[18:18:33] [Server thread/INFO]: Preparing spawn area: 14%
[18:18:34] [Server thread/INFO]: Preparing spawn area: 16%
[18:18:35] [Server thread/INFO]: Preparing spawn area: 20%
[18:18:36] [Server thread/INFO]: Preparing spawn area: 22%
[18:18:37] [Server thread/INFO]: Preparing spawn area: 26%
[18:18:38] [Server thread/INFO]: Preparing spawn area: 29%
[18:18:39] [Server thread/INFO]: Preparing spawn area: 32%
[18:18:40] [Server thread/INFO]: Preparing spawn area: 34%
[18:18:42] [Server thread/INFO]: Preparing spawn area: 37%
[18:18:43] [Server thread/INFO]: Preparing spawn area: 42%
[18:18:44] [Server thread/INFO]: Preparing spawn area: 44%
[18:18:45] [Server thread/INFO]: Preparing spawn area: 47%
[18:18:46] [Server thread/INFO]: Preparing spawn area: 50%
[18:18:47] [Server thread/INFO]: Preparing spawn area: 53%
[18:18:48] [Server thread/INFO]: Preparing spawn area: 57%
[18:18:49] [Server thread/INFO]: Preparing spawn area: 60%
[18:18:50] [Server thread/INFO]: Preparing spawn area: 64%
[18:18:51] [Server thread/INFO]: Preparing spawn area: 68%
[18:18:52] [Server thread/INFO]: Preparing spawn area: 71%
[18:18:53] [Server thread/INFO]: Preparing spawn area: 76%
[18:18:54] [Server thread/INFO]: Preparing spawn area: 79%
[18:18:55] [Server thread/INFO]: Preparing spawn area: 82%
[18:18:56] [Server thread/INFO]: Preparing spawn area: 86%
[18:18:57] [Server thread/INFO]: Preparing spawn area: 90%
[18:18:58] [Server thread/INFO]: Preparing spawn area: 93%
[18:18:59] [Server thread/INFO]: Preparing spawn area: 97%
[18:19:00] [Server thread/INFO]: Done (40.635s)! For help, type "help" or "?"
[18:19:04] [Server thread/INFO]: Stopping server
[18:19:04] [Server thread/INFO]: Saving players
[18:19:04] [Server thread/INFO]: Saving worlds
[18:19:04] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[18:19:04] [Server thread/INFO]: Saving chunks for level 'world'/Nether
[18:19:04] [Server thread/INFO]: Saving chunks for level 'world'/The End
[18:19:07] [Server Shutdown Thread/INFO]: Stopping server

 

 

Properties:

Spoiler

#Minecraft server properties
#Sat Apr 22 18:20:18 BST 2017
generator-settings=
op-permission-level=4
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
announce-player-achievements=true
server-port=25565
max-world-size=29999984
level-type=DEFAULT
enable-rcon=false
force-gamemode=false
level-seed=
server-ip=
network-compression-threshold=256
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
snooper-enabled=true
hardcore=false
resource-pack-sha1=
online-mode=true
resource-pack=
pvp=true
difficulty=1
enable-command-block=false
player-idle-timeout=0
gamemode=0
max-players=20
max-tick-time=60000
spawn-monsters=true
view-distance=10
generate-structures=true
motd=A Minecraft Server

 

 

Edited by Notso9bit
Posted
3 minutes ago, diesieben07 said:

Are you sure the port settings are correct in the server.properties? Please post that file.

ty for the reply, I added it in a spoiler

Posted
5 minutes ago, diesieben07 said:

Ok, no apparent problems there. Are you running both with the same Java version? Is there a firewall exception for both?

When I search for java in my programs & features only one version comes up so I assume so. The only firewall I have on my PC is Windows firewall which didnt make a difference when I turned it off and ran the server. And for the router I have the 25565 port allowed for my PCs IPv4 address in the firewall rules.

Posted
1 minute ago, diesieben07 said:

How are you launching both servers?

The vanilla server with the .bat file and the forge server just by opening the jar. Could that be the problem?

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I tried do download the essential mod to my mod pack but i didnt work. I paly on 1.21 and it should work. I use neoforge for my modding. The weird things is my friend somehow added the mod to his modpack and many others that I somehow can´t. Is there anything i can do? 
    • Thanks, I've now installed a slightly newer version and the server is at least starting up now.
    • i have the same issue. Found 1 Create mod class dependency(ies) in createdeco-1.3.3-1.19.2.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Found 11 Create mod class dependency(ies) in createaddition-fabric+1.19.2-20230723a.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Detailed walkthrough of mods which rely on missing Create mod classes: Mod: createaddition-fabric+1.19.2-20230723a.jar Missing classes of create: com/simibubi/create/compat/jei/category/sequencedAssembly/JeiSequencedAssemblySubCategory com/simibubi/create/compat/recipeViewerCommon/SequencedAssemblySubCategoryType com/simibubi/create/compat/rei/CreateREI com/simibubi/create/compat/rei/EmptyBackground com/simibubi/create/compat/rei/ItemIcon com/simibubi/create/compat/rei/category/CreateRecipeCategory com/simibubi/create/compat/rei/category/WidgetUtil com/simibubi/create/compat/rei/category/animations/AnimatedBlazeBurner com/simibubi/create/compat/rei/category/animations/AnimatedKinetics com/simibubi/create/compat/rei/category/sequencedAssembly/ReiSequencedAssemblySubCategory com/simibubi/create/compat/rei/display/CreateDisplay Mod: createdeco-1.3.3-1.19.2.jar Missing classes of create: com/simibubi/create/content/kinetics/fan/SplashingRecipe
    • The crash points to moonlight lib - try other builds or make a test without this mod and the mods requiring it
    • Do you have shaders enabled? There is an issue with the mod simpleclouds - remove this mod or disable shaders, if enabled  
  • Topics

×
×
  • Create New...

Important Information

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