Jump to content

Help
Latest News Article

[Resolved] I can't connect to my server :(


26 replies to this topic

#1

  • Minecraft: TheNonja

Posted 18 February 2012 - 11:37 PM

I made a dedicated Minecraft server and I port-forwarded. But whenever I try to connect to my server (YES, with my external IP), it just tries to connect forever. Or if I add it to the list of servers, it says 'Polling' forever. Here is my config:
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=
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=TheNonja's Minecraft Server! Play fair, have fun :)
And, my .bat server starter:
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar "craftbukkit-1.1-R4.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86"  java -Xincgc -Xmx1024M -jar "craftbukkit-1.1-R4.jar"
PAUSE
My server start up:
Posted Image
One strange thing to note, when I port-forward, my computer doesn't show up in the list of IPs. I just put it in since I know what it is. I have a static IP set up. It should show one called 'kroemerpc.'
Posted Image
I am running Windows XP, 32 bit.
Please help me Posted Image

Register or log in to remove.

#2

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4817 posts

Posted 18 February 2012 - 11:45 PM

Connect with "localhost" or the host machine's local ip.
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#3

  • Minecraft: TheNonja

Posted 18 February 2012 - 11:54 PM

View PostAmberK, on 18 February 2012 - 11:45 PM, said:

Connect with "localhost" or the host machine's local ip.
By that do you mean like if I opened a cmd and typed ipconfig /all, I would use the IP Address (192.168.0.174 for me)?

#4

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4817 posts

Posted 19 February 2012 - 12:52 AM

Are you playing on the same computer you host with? If so, use "localhost". If not, then use the local ip (from the cmd) of the host machine.
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#5

  • Minecraft: TheNonja

Posted 19 February 2012 - 01:09 AM

View PostAmberK, on 19 February 2012 - 12:52 AM, said:

Are you playing on the same computer you host with? If so, use "localhost". If not, then use the local ip (from the cmd) of the host machine.
Yes, the same computer. What do you mean by localhost?!

EDIT: Ohhh, do you mean type in localhost for the IP? Yeah, I tried that. Still just keeps trying to connect... :(

#6

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4817 posts

Posted 19 February 2012 - 01:11 AM

For your ip, enter "localhost" without the quotes. Here's a list meaning the same thing for what you can enter:

127.0.0.1
localhost
0.0.0.0

Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#7

  • Minecraft: TheNonja

Posted 19 February 2012 - 01:17 AM

View PostAmberK, on 19 February 2012 - 01:11 AM, said:

For your ip, enter "localhost" without the quotes. Here's a list meaning the same thing for what you can enter:

127.0.0.1
localhost
0.0.0.0
Didn't work :'(

#8

  • Minecraft: TheNonja

Posted 19 February 2012 - 01:42 PM

Bump?

#9

Posted 19 February 2012 - 01:47 PM

u should always be able to connect with localhost (if minecraft server is running on where u log in with the game)

but u could try to open windows firewall, and in the exceptions tab, add tcp port 25565
Posted Image

#10

  • Minecraft: TheNonja

Posted 19 February 2012 - 02:13 PM

View Poststrontkever, on 19 February 2012 - 01:47 PM, said:

u should always be able to connect with localhost (if minecraft server is running on where u log in with the game)

but u could try to open windows firewall, and in the exceptions tab, add tcp port 25565
Well, for whatever reason I can't, it keeps saying its connecting...
I have firewall turned off.

EDIT: I tried it anyways and still, "Connecting to server..." forever :(

#11

Posted 19 February 2012 - 02:20 PM

View PostTheNonja, on 19 February 2012 - 02:13 PM, said:

Well, for whatever reason I can't, it keeps saying its connecting...
I have firewall turned off.

EDIT: I tried it anyways and still, "Connecting to server..." forever :(

try vanilla server and check if that works
Posted Image

#12

  • Minecraft: TheNonja

Posted 19 February 2012 - 02:22 PM

View Poststrontkever, on 19 February 2012 - 02:20 PM, said:

try vanilla server and check if that works
How? Sorry I'm a noob, you have to explain things to me ._.

#13

Posted 19 February 2012 - 02:23 PM

View PostTheNonja, on 19 February 2012 - 02:22 PM, said:

How? Sorry I'm a noob, you have to explain things to me ._.

i mean, get the server software from minecraft.net (original server software = vanilla)


https://s3.amazonaws...raft_Server.exe
Posted Image

#14

  • Minecraft: TheNonja

Posted 19 February 2012 - 02:28 PM

View Poststrontkever, on 19 February 2012 - 02:23 PM, said:

i mean, get the server software from minecraft.net (original server software = vanilla)


https://s3.amazonaws...raft_Server.exe
Downloaded the file, put it in a new folder, ran it, launched Minecraft, joined localhost, and still, the same problem, connecting forever :(

EDIT: Whoa, got this weird error in the start up for the vanilla server:
C:\Documents and Settings\Kroemer\Desktop\Test>java -Xmx1024M -Xms1024M -jar min
ecraft_server.jar
174 recipes
27 achievements
2012-02-19 09:29:45 [INFO] Starting minecraft server version 1.1
2012-02-19 09:29:45 [INFO] Loading properties
2012-02-19 09:29:45 [INFO] Starting Minecraft server on *:25565
2012-02-19 09:29:46 [INFO] Preparing level "world"
2012-02-19 09:29:46 [INFO] Default game type: 0
2012-02-19 09:29:46 [INFO] Preparing start region for level 0
2012-02-19 09:29:46 [INFO] Done (728178539ns)! For help, type "help" or "?"
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at kq.a(SourceFile:137)
at pd.h(SourceFile:189)
at pd.c(SourceFile:9)
at xs.run(SourceFile:76)
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at kq.a(SourceFile:137)
at pd.h(SourceFile:189)
at pd.c(SourceFile:9)
at xs.run(SourceFile:76)

#15

Posted 19 February 2012 - 02:38 PM

View PostTheNonja, on 19 February 2012 - 02:28 PM, said:

Downloaded the file, put it in a new folder, ran it, launched Minecraft, joined localhost, and still, the same problem, connecting forever :(

EDIT: Whoa, got this weird error in the start up for the vanilla server:
C:\Documents and Settings\Kroemer\Desktop\Test>java -Xmx1024M -Xms1024M -jar min
ecraft_server.jar
174 recipes
27 achievements
2012-02-19 09:29:45 [INFO] Starting minecraft server version 1.1
2012-02-19 09:29:45 [INFO] Loading properties
2012-02-19 09:29:45 [INFO] Starting Minecraft server on *:25565
2012-02-19 09:29:46 [INFO] Preparing level "world"
2012-02-19 09:29:46 [INFO] Default game type: 0
2012-02-19 09:29:46 [INFO] Preparing start region for level 0
2012-02-19 09:29:46 [INFO] Done (728178539ns)! For help, type "help" or "?"
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at kq.a(SourceFile:137)
at pd.h(SourceFile:189)
at pd.c(SourceFile:9)
at xs.run(SourceFile:76)
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at kq.a(SourceFile:137)
at pd.h(SourceFile:189)
at pd.c(SourceFile:9)
at xs.run(SourceFile:76)

i guess its you trying to connect, but fails

try to update java... im just guessing here, i really dont know
Posted Image

#16

Posted 19 February 2012 - 02:59 PM

Try getting a host. Its much easier for noobs I know a really good and cheap host pm me if you want it.

#17

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4817 posts

Posted 19 February 2012 - 03:47 PM

That's either a corrupt jar or java. It's most typically seen with people modifying their server jar files, try downloading another one.
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#18

  • Minecraft: TheNonja

Posted 19 February 2012 - 04:23 PM

View Postthemuddfamily, on 19 February 2012 - 02:59 PM, said:

Try getting a host. Its much easier for noobs I know a really good and cheap host pm me if you want it.
No, I'm not paying anything.
And AmberK, I forgot to mention that I'm running a bukkit server. But I did download the jar at the right place. I'll re download it though and edit this post once I've tried it. It'll be awhile, I'm going to a tennis tourney until like 2.

#19

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4817 posts

Posted 19 February 2012 - 05:00 PM

Try uninstalling your current java, and use this: http://java.com/en/download/index.jsp

It's a slim chance it's the problem, but worth doing anyways.
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#20

  • Minecraft: TheNonja

Posted 19 February 2012 - 06:58 PM

Ugh! Reinstalled java and my .jar but I still can't connect to the server, in any way! >:(