I am getting this error what should I do? Last login: Tue Jan 31 16:52:53 on ttys002 Bens-MacBook:~ feinb11$ /Users/feinb11/Desktop/BukkitServer/start.command ; exit; 174 recipes 27 achievements 16:55:14 [INFO] Starting minecraft server version 1.1 16:55:14 [INFO] Loading properties 16:55:14 [SEVERE] java.net.UnknownHostException: 69.125.10.183:25565 16:55:14 [SEVERE]at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) 16:55:14 [SEVERE]at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849) 16:55:14 [SEVERE]at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1202) 16:55:14 [SEVERE]at java.net.InetAddress.getAllByName0(InetAddress.java:1153) 16:55:14 [SEVERE]at java.net.InetAddress.getAllByName(InetAddress.java:1083) 16:55:14 [SEVERE]at java.net.InetAddress.getAllByName(InetAddress.java:1019) 16:55:14 [SEVERE]at java.net.InetAddress.getByName(InetAddress.java:969) 16:55:14 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:126) 16:55:14 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) 16:55:14 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 16:55:14 [SEVERE] Unexpected exception java.net.UnknownHostException: 69.125.10.183:25565 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849) at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1202) at java.net.InetAddress.getAllByName0(InetAddress.java:1153) at java.net.InetAddress.getAllByName(InetAddress.java:1083) at java.net.InetAddress.getAllByName(InetAddress.java:1019) at java.net.InetAddress.getByName(InetAddress.java:969) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:126) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
#Minecraft server properties #Tue Jan 31 17:12:07 EST 2012 allow-nether=true level-name=world allow-flight=false server-port=25565 level-type=DEFAULT level-seed= server-ip=69.125.10.183:25565 spawn-npcs=true white-list=false spawn-animals=true online-mode=true pvp=true difficulty=1 gamemode=0 max-players=20 spawn-monsters=true generate-structures=true view-distance=10 motd=A Minecraft Server
That's probably the problem, first remove the port designation 25565) from that line, since that's already set by this: Code: server-port=25565 Additionally, if you are behind a router, it would be beneficial to blank server-ip, like this: Code: server-ip= This will then default it to listen to all IPs assigned to the host, unless this is dedicated hardware hosting multiple servers. (I assume it isn't, since the system's hostname is "Bens-Macbook.")
now it says Bens-MacBook:~ feinb11$ /Users/feinb11/Desktop/Bukkit\ server\ for\ Ben/start.command ; exit; 174 recipes 27 achievements 17:32:34 [INFO] Starting minecraft server version 1.1 17:32:34 [INFO] Loading properties 17:32:34 [INFO] Starting Minecraft server on 69.125.10.183:25565 17:32:34 [WARNING] **** FAILED TO BIND TO PORT! 17:32:34 [WARNING] The exception was: java.net.BindException: Can't assign requested address 17:32:34 [WARNING] Perhaps a server is already running on that port? >
You're presumably behind a router. You don't have that IP directly, you're behind a router. You need to assign a static IP to the system hosting the server, and forward port 25565 (TCP and UDP) to that IP in your router's settings. Set this line to the IP you assign to the system. Code: server-ip=