Jump to content

Question

Posted

Title: Connection refused to server

Version: 3.0.3/3.0.4

OS: OS Snow leopard

Java Version: JAVA SE 6

Description of Problem:

When trying to connect to the server, I get the following error message: Failed to connect Connection refused

I also tried connecting with Localhost.

I actually don't know how a correct tekkit server log should look like, but compared to simple minecraft servers, mine doesn't say: Done! at the end, showing that the server is ready to be used, so the problem may be there.

(sorry if there's syntax errors in this message, I still have difficulties with english)

Error Messages:

Error Log:


MacBook-Pro-de-Mathieu-Provost-Laplante:~ mathieuprovost-laplante$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/

MacBook-Pro-de-Mathieu-Provost-Laplante:~ mathieuprovost-laplante$ cd ~/TekkitServer

MacBook-Pro-de-Mathieu-Provost-Laplante:TekkitServer mathieuprovost-laplante$ java -Xincgc -Xmx2G -jar Tekkit.jar

182 recipes

27 achievements

17:48:55 [iNFO] Starting minecraft server version 1.2.5

17:48:55 [iNFO] Forge Mod Loader version @MAJOR@.@MINOR@.@REV@.@BUILD@ for Minecraft @MCVERSION@ loading

17:48:55 [iNFO] Loading mods from /Users/mathieuprovost-laplante/TekkitServer/mods

17:48:55 [GRAVE] java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

17:48:55 [GRAVE] 	at java.lang.ClassLoader.defineClass1(Native Method)

17:48:55 [GRAVE] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

17:48:55 [GRAVE] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

17:48:55 [GRAVE] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

17:48:55 [GRAVE] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

17:48:55 [GRAVE] 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

17:48:55 [GRAVE] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

17:48:55 [GRAVE] 	at java.security.AccessController.doPrivileged(Native Method)

17:48:55 [GRAVE] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

17:48:55 [GRAVE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

17:48:55 [GRAVE] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

17:48:55 [GRAVE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:295)

17:48:55 [GRAVE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

17:48:55 [GRAVE] 	at java.lang.Class.forName0(Native Method)

17:48:55 [GRAVE] 	at java.lang.Class.forName(Class.java:247)

17:48:55 [GRAVE] 	at cpw.mods.fml.common.Loader.loadModClass(Loader.java:440)

17:48:55 [GRAVE] 	at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:497)

17:48:55 [GRAVE] 	at cpw.mods.fml.common.Loader.load(Loader.java:375)

17:48:55 [GRAVE] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:527)

17:48:55 [GRAVE] 	at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:113)

17:48:55 [GRAVE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:118)

17:48:55 [GRAVE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

17:48:55 [GRAVE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

17:48:55 [GRAVE] Unexpected exception

java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

	at java.lang.ClassLoader.defineClass1(Native Method)

	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:295)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	at java.lang.Class.forName0(Native Method)

	at java.lang.Class.forName(Class.java:247)

	at cpw.mods.fml.common.Loader.loadModClass(Loader.java:440)

	at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:497)

	at cpw.mods.fml.common.Loader.load(Loader.java:375)

	at cpw.mods.fml.common.Loader.loadMods(Loader.java:527)

	at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:113)

	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:118)

	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

>

4 answers to this question

Recommended Posts

  • 0
Posted

Hello, can you please share how you fixed this, I am having the same problem. Thanks...

The post is 3 weeks old. Give it up. It's a very common issue, and there are threads all over about it. Update to Java 7 correctly, or delete the Nether Ores .jar from your server's mods folder.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...