jlg22099 Posted February 2, 2013 Share Posted February 2, 2013 I had a server on my old computer, and its hard drive broke, I got a new hard drive then I got a new pc for Christmas. I put my public ip in the properties file and in the server ip, and I have port forwarded. On my old pc, my server worked fine, now whenever I try to make a new one on my new pc, it says cannot bind port. I put in my local ip, (192.168.1.) you know what I mean. I put that in my properties and in the servers ip. I can join the server fine but other people cannot. I have removed my firewall and that didn't work. I would like some help. Thank You. Link to comment Share on other sites More sharing options...
jlg22099 Posted February 4, 2013 Author Share Posted February 4, 2013 This is the error I am now getting... C:Usersjlg22099DesktopTekkit Server>java -Xmx3G -Xms2G -jar Tekkit.jar nogui 182 recipes 27 achievements 19:37:40 [iNFO] Starting minecraft server version 1.2.5 19:37:40 [iNFO] Attempting early MinecraftForge initialization 19:37:40 [iNFO] Completed early MinecraftForge initialization 19:37:40 [iNFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading 19:37:40 [iNFO] Loading mods from C:Usersjlg22099DesktopTekkit Servermods 19:37:40 [iNFO] Forge Mod Loader has loaded 1 mods 19:37:40 [iNFO] Loading properties 19:37:40 [sEVERE] java.net.UnknownHostException: 74.193.107.171 19:37:40 [sEVERE] at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Me thod) 19:37:40 [sEVERE] at java.net.InetAddress$1.lookupAllHostAddr(Unknown Sour ce) 19:37:40 [sEVERE] at java.net.InetAddress.getAddressesFromNameService(Unkn own Source) 19:37:40 [sEVERE] at java.net.InetAddress.getAllByName0(Unknown Source) 19:37:40 [sEVERE] at java.net.InetAddress.getAllByName(Unknown Source) 19:37:40 [sEVERE] at java.net.InetAddress.getAllByName(Unknown Source) 19:37:40 [sEVERE] at java.net.InetAddress.getByName(Unknown Source) 19:37:40 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe rver.java:154) 19:37:40 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:438) 19:37:40 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:492) 19:37:40 [sEVERE] Unexpected exception java.net.UnknownHostException: 74.193.107.171 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:154) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) > Link to comment Share on other sites More sharing options...
Matt M Posted February 4, 2013 Share Posted February 4, 2013 If you are getting a cannot bind port, then it usually means the port you are trying to use is already being used by another program. You could try changing the port in the server properties file, but then you'll need to change the port on your port forwards as well. Link to comment Share on other sites More sharing options...
jlg22099 Posted February 4, 2013 Author Share Posted February 4, 2013 What port should I use then? Link to comment Share on other sites More sharing options...
jlg22099 Posted February 4, 2013 Author Share Posted February 4, 2013 I changed ports and it still had the error that I posted above. Link to comment Share on other sites More sharing options...
Matt M Posted February 6, 2013 Share Posted February 6, 2013 Java itself may not have permissions to establish network connections then. Try to uninstall java, and reinstall. Then see if the problem persists. Link to comment Share on other sites More sharing options...
jlg22099 Posted February 7, 2013 Author Share Posted February 7, 2013 that didn't work + Link to comment Share on other sites More sharing options...
ISOForest Posted February 8, 2013 Share Posted February 8, 2013 I changed ports and it still had the error that I posted above. Are your ports properly configured through your router? Link to comment Share on other sites More sharing options...
jlg22099 Posted February 8, 2013 Author Share Posted February 8, 2013 on the 192.168.1.1 website? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now