Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

BindException: Address already in use


  • Please log in to reply
3 replies to this topic

#1

askcharlie
  • Minecraft: askcharlie

Posted 28 December 2010 - 06:37 PM

This is why I shouldn't fiddle with things.   Today I was setting up Apache and subdomains, trying to figure out how to extend my domain name so i could use a subdomain to attach to my minecraft server, so ppl didnt have to type in the numbers everytime.

Now that I messed with it, I get this following error.

Quote

Dec 28, 2010 9:21:47 PM eh
SEVERE: null
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
        at java.net.ServerSocket.bind(ServerSocket.java:336)
        at java.net.ServerSocket.(ServerSocket.java:202)
        at eh.(eh.java:30)
        at net.minecraft.server.MinecraftServer.d(SourceFile:120)
        at net.minecraft.server.MinecraftServer.run(SourceFile:197)
        at cj.run(SourceFile:490)
java.lang.NullPointerException
        at eh.(eh.java:34)

this happens every time I start up my minecraft server now.

if anyone has any answers, please let me know, and ask me any info you might need :P
Posted Image

Register or log in to remove.

#2

endofzero

Posted 28 December 2010 - 07:27 PM

This is usually one of two things...

1. There is already an instance of Minecraft running

2. You filled out 'server-ip=' in server.properties (LEAVE THAT BLANK)
MC Sheller - Automated Shell Script git - MC Log Parser - Hub

Lulz

MoonBeans said:

As far as I've heard, Sk89q is a virus. Not sure though!

#3

askcharlie
  • Minecraft: askcharlie

Posted 28 December 2010 - 08:09 PM

NEW INFORMATION:
When I stop Apache Web Server and then start up minecraft.  The Minecraft server runs flawlessly.  So it had to be something that I did when I tried to bind a subdomain to the Port for Minecraft.

Anyone happen to know how to remove the binded (sub domain/virtual host) inside webmin or any apache server?
Posted Image

#4

rch
    rch

    Minecraft.cm

  • Members
  • 4104 posts
  • Location: Florida
  • Minecraft: rch

Posted 28 December 2010 - 08:35 PM

You'll have to edit your DNS Zone file to remove the subdomain / A Name.. unless your webmin control panel or whatever is doing it in a different way.

Does your hosting provide access to your dns zone file? Are you doing this on a dedicated server? VPS? What OS?