Jump to content

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

Vanilla Server Issue [Cannot connect to Localhost]


  • Please log in to reply
4 replies to this topic

#1

Leggerrr

Posted 28 December 2012 - 05:57 AM

So I'm having a terrible, frustrating time with running a server. I've gone through the set up a million times before, on a previous laptop, and have had no issues before on launching and hosting servers what so ever besides the occassional port-forwarding, which was a quick fix. Now that I have a new pc, I decided to set up a new modded server to take a whack at playing with friends once more. I could connect or see that other hosted servers were online, but any address that I used to connect to mine just couldn't "reach the server." When I mean address, I tried localhost, 127.0.0.1, 0.0.0.0, my own IPv4 address used via my router, with nothing working at all. From my understanding, localhost always works, as long as the server is running on the same machine, which is the case that I had. Console and client were both running at the same time, and Localhost just acted like nothing was going on. I even went through the trouble of checking my ports, and according to canyouseeme.org 25565 is open, and I took a stab at my own external address, even with the :25565 at the end. I also did this with the several previous addresses, nothing.

This made me believe that it had to be a software issue, and not a network one as I was going through localhost. So I deleted everything. I made the server vanilla, the client vanilla. I even redownloaded the minecraft_server.jar, and the minecraft.exe. I even tried the minecraft_server.exe, no avail. For whatever reason, localhost refuses to work as a way to connect, and I feel like if that was solved, all of this would be.

EDIT: I'll also mention that I had 32 bit Java 7 installed on my 64 bit computer, that didn't work. So I've unistalled it, and went through the trouble of even reinstalling with the 64 bit to fix the issue. This did not work. I'll also repeat, if it wasn't apparent, I can easily connect to other servers. Modded clients, or vanilla ones.

"#Minecraft server properties
#Fri Dec 28 00:50:38 EST 2012
generator-settings=
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
snooper-enabled=true
hardcore=false
texture-pack=
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

This is my server properties.

C:\Users\Leggerrr\Documents\Minecraft\servers\Vanilla>java -Xms512M -Xmx1G -jar
minecraft_server.jar
210 recipes
27 achievements
2012-12-28 00:50:37 [INFO] Starting minecraft server version 1.4.6
2012-12-28 00:50:37 [INFO] Loading properties
2012-12-28 00:50:37 [INFO] Default game type: SURVIVAL
2012-12-28 00:50:37 [INFO] Generating keypair
2012-12-28 00:50:38 [INFO] Starting Minecraft server on *:25565
2012-12-28 00:50:38 [INFO] Preparing level "world"
2012-12-28 00:50:38 [INFO] Preparing start region for level 0
2012-12-28 00:50:39 [INFO] Preparing spawn area: 98%
2012-12-28 00:50:39 [INFO] Done (1.125s)! For help, type "help" or "?"

This what I'm getting in the console now, let me know what else I can do, because this is driving me crazy, lol. Thanks for those who can help.

Register or log in to remove.

#2

Syfaro
    Syfaro

    Retired Guru

  • Retired Staff
  • 5209 posts
  • Minecraft: Syfaro

Posted 28 December 2012 - 02:26 PM

Try using 127.0.0.1 instead of localhost.

Minecraft API - A JSON API for fetching information about Minecraft & Minecraft servers

Read my blog about tech stuff!


#3

Leggerrr

Posted 28 December 2012 - 04:09 PM

I did. I mentioned this in my post. Any other ideas?

#4

Leggerrr

Posted 31 December 2012 - 03:13 AM

Bump?

#5

Leggerrr

Posted 12 January 2013 - 10:45 AM

Bummmmmmp