GlowstoneMC / Glowstone-Legacy

An open-source server for the Bukkit Minecraft modding interface
Other
363 stars 122 forks source link

Starting server doesn't work #589

Closed Verald closed 9 years ago

Verald commented 9 years ago

Whatever i give it to port (even 25565) or the server (even localhost) it just doesn't work

failed to bind to address

gdude2002 commented 9 years ago

Can you paste your full server logs, please?

For reference, config..

# glowstone.yml is the main configuration file for a Glowstone server
# It contains everything from server.properties and bukkit.yml in a
# normal CraftBukkit installation.
#
# For help, join us on IRC: #glowstone @ esper.net

server:
    port: 25565
    name: Glowstone Server
    online-mode: true
    max-players: 20
    whitelisted: false
    motd: Glowstone Server
    shutdown-message: Server shutting down

folders:
    plugins: plugins
    update: update
    worlds: worlds

world:
    name: world
    spawn-radius: 16
    view-distance: 8
    gen-structures: true
    allow-nether: true
    allow-end: true
Verald commented 9 years ago
2014/12/13 19:16:02 [INFO] Preparing spawn for world...
2014/12/13 19:16:03 [INFO] Preparing spawn for world: 72%
2014/12/13 19:16:03 [INFO] Preparing spawn for world: done
2014/12/13 19:16:03 [INFO] Preparing spawn for world_nether...
2014/12/13 19:16:04 [INFO] Preparing spawn for world_nether: done
2014/12/13 19:16:04 [INFO] Preparing spawn for world_the_end...
2014/12/13 19:16:05 [INFO] Preparing spawn for world_the_end: done
2014/12/13 19:16:05 [INFO] [Szerver] Enabling Szerver v1.0
2014/12/13 19:16:05 [INFO] §b[§6Verald§b] §aBekapcsolt!
2014/12/13 19:16:05 [INFO] Binding to address: /7.59.200.87:25565...
2014/12/13 19:16:05 [SEVERE] Error during server startup.
java.lang.RuntimeException: Failed to bind to address. Maybe it is already in use?
    at net.glowstone.GlowServer.bind(GlowServer.java:438)
    at net.glowstone.GlowServer.main(GlowServer.java:93)
gdude2002 commented 9 years ago

Are you running another server? Do you have the appropriate firewall rules set up?

Did you follow the guide in our frequently asked questions section?

Verald commented 9 years ago

No. No (i think). yes

gdude2002 commented 9 years ago

What OS are you? Windows? What version?

Verald commented 9 years ago

Windows 8.1

Verald commented 9 years ago

Yesterday it did work but not today.. i dont know why

Verald commented 9 years ago

my friend could join to my server too

Verald commented 9 years ago

i tried out different versions of Glowstone but none of them worked :/

Verald commented 9 years ago

So i dont know what is the wrong with it

Verald commented 9 years ago

Please help me

turt2live commented 9 years ago

Try restarting your computer. Also do not double click or open the downloaded file, use a startup script as mentioned on the installation page.

Verald commented 9 years ago

Did not work :(

Verald commented 9 years ago

as i said yesterday i started it and all went good but today just don't want to work. i restarted my computer but didn't solve the problem

turt2live commented 9 years ago

Did you ever double click the downloaded file?

Verald commented 9 years ago

at the very beginning (when i downloaded the jar). but that was like 3 days ago

turt2live commented 9 years ago

Then restarting your computer would have fixed the issue. Do not double click the jar.

Verald commented 9 years ago

didn't work

gdude2002 commented 9 years ago

This is not live chat. Please write single comments instead of spamming everyone's email inbox with multiple.

I suggest you check the resource manager and see if anything is listening to the ports. You can do by finding it in the task manager. under the performance tab.

Once you've opened the resource manager, head to the network tab and check the list of listening ports.

Please check this list for your configured port and report back. For example, if the port was 25565 then check that this port is in the list. If it is, post back here with the entry in the Image column.

Verald commented 9 years ago

Not a single on. the near ports are the system and the skype with: 21324 26143 my port is: 25560

Verald commented 9 years ago

image

by the way i'm Hungarian thats why the language Any idea?

gdude2002 commented 9 years ago

Are you running it on the same computer you're using?

Verald commented 9 years ago

yes

gdude2002 commented 9 years ago

Hmm.. You have this line in your logs.

[INFO] Binding to address: /7.59.200.87:25565...

Are you setting an ip in the config file? If so, please remove it.

Verald commented 9 years ago

i removed the line but even this way it's binding to address with the same ip:port

gdude2002 commented 9 years ago

The only reasons I can think of for having this error are as follows:

At this point, we've been through most of these options - please ensure that you really have checked everything. At this point, if all of these have been thoroughly checked, then I don't believe there's anything else we can do.

Verald commented 9 years ago

If i have another computer thats maybe using that port am i able to use it on this computer?

gdude2002 commented 9 years ago

No, another computer shouldn't change anything, unless the port it's connected to is on your current one.

Verald commented 9 years ago

How can i check that th eip address and the network card is matching or not?

gdude2002 commented 9 years ago

You almost certainly don't need to be setting the ip entry in the configuration. It's only useful for complicated network setups where users have a lot of network cards.

That's not your setup, so you should simply remove it from the config file.

Verald commented 9 years ago

If i have hamachi but i closed it should it be ok? Or i have to uninstall it? Already removed the ip thing

Aaron1011 commented 9 years ago

If it's not running, it shouldn't be affecting anything.

Verald commented 9 years ago

So nothing is wrong but it just dont want to work... right :D

  1. You saw it too.. i don't run anyting on that port.
  2. You said thats not my setup.
  3. i disabled my firewall too if that would solve the problem but no..
  4. Hamachi isn't running 4.5. Tunngle isn't running
gdude2002 commented 9 years ago

At this point, I have no idea what's wrong, provided you fully followed all our instructions. ._.

Verald commented 9 years ago

Looks like deleting everyting solved the problem. plugin worked... worlds loaded.. i don't know what was the problem but it's ok now. anyway thanks for that loooong-looong time you spent just for me guys and sorry for too much commenting. Bye :)