Dedicated Server | Internet IP vs. Local Network IP

  • Hi there! I am hosting a dedicated server and have no issues starting the world server with my local network ip but if I input my internet ip into the properties file, the world will not be created and returns errors. Is there a way to use my internet IP (since this is displayed in the server list) instead? Following is the log from the command shell:


    Rising World - 0.5.1.5 - Dedicated Server
    07.01.2015 06:41


    Jan 07, 2015 6:41:59 PM com.jme3.system.JmeDesktopSystem initialize
    INFO: Running on jMonkeyEngine 3.0.10
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.audio.plugins.OGGLoader
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
    Jan 07, 2015 6:41:59 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
    Items initialized!
    Plants initialized!
    NPCs initialized!
    Jan 07, 2015 6:41:59 PM commons.util.g b
    SEVERE: Unable to load localizated months: java.util.MissingResourceException: C
    an't find bundle for base name bundles/Bundle, locale en_US
    Jan 07, 2015 6:41:59 PM r.g a
    INFO: Register BuildDestroyPermission: object.plank
    Jan 07, 2015 6:41:59 PM r.g a
    INFO: Register BuildDestroyPermission: ores.copper
    Jan 07, 2015 6:41:59 PM r.g a
    INFO: Register BuildDestroyPermission: world.dirt
    Jan 07, 2015 6:41:59 PM r.g a
    INFO: Register BuildDestroyPermission: world.stone
    Jan 07, 2015 6:41:59 PM r.g c
    INFO: Register MainPermission: permission.changespawn
    Load world WorldName
    WORLDINFO Seed :1420678644364
    WORLDINFO Caves :true
    WORLDINFO Vegetations :true
    WORLDINFO Worldtype :Normal
    WORLDINFO Time :2.1.0 0:38:0.31377605 38
    WORLDINFO Spawninventory :2 0 0 23 0 1 -65 -128 0 0 0 1 0 17 0 1 -65 -128 0 0 0
    0 0 0
    inventory cleared!
    Worldpart generating...
    Biomepart generating...
    Biomepart generated: 0 - 0
    CavePoints: 380772
    Worldpart generated: 0 - 0
    WORLDINFO Spawnposition :256.0 166.0 256.0
    WORLDINFO Spawnrotation :0.0 0.0 0.0 1.0
    dir does not exist: Worlds/WorldName/customImages/
    0 chests loaded from DB!
    0 Plants loaded from DB!
    51 NPCs loaded from DB!
    WORLDINFO Version :0.5.1.5_14
    Worldconverter: Updating not required
    STARTING RISING WORLD SERVER...
    Server bind to IP: xx.xx.xxx.xxx:4255
    Jan 07, 2015 6:42:03 PM server.b c
    SEVERE: Error while starting the server: com.jme3.network.kernel.KernelException
    : Error hosting:/xx.xx.xxx.xxx:4255
    C:\Users\Nephaera\Documents\Rising World server\scripts
    HTTP Server bind to IP: xx.xx.xxx.xxx:4254
    Jan 07, 2015 6:42:07 PM http.HttpServer <init>
    SEVERE: null
    java.net.BindException: Cannot assign requested address: bind
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    at sun.net.httpserver.ServerImpl.<init>(Unknown Source)
    at sun.net.httpserver.HttpServerImpl.<init>(Unknown Source)
    at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(Unknown
    Source)
    at com.sun.net.httpserver.HttpServer.create(Unknown Source)
    at http.HttpServer.<init>(SourceFile:36)
    at server.Main.d(SourceFile:243)
    at server.Main.simpleInitApp(SourceFile:134)
    at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:226)


    at com.jme3.system.NullContext.initInThread(NullContext.java:84)
    at com.jme3.system.NullContext.run(NullContext.java:127)
    at java.lang.Thread.run(Unknown Source)


    SSL SOCKET
    Connected to ServerHive


    Thanks in advance!

  • The server would have to have a public IP assigned to one of it's network cards. The error you are getting is saying that you either have another copy of the server already bound to the IP/Port or you do not have that IP bound to one of its nics.


    A typical home setup would bind the game to a local IP, then forward connection on the router from your internet address to the local server.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!