Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

The kids have got into Minecraft and want to run their own multiplayer game locally, however, we can't get one computer to connect to the other, but the reverse connection works.

COMPUTER A is the better machine and we want to run the server on that as well as a client. COMPUTER B can only really run either the server or the client. It's good enough to run TF2 etc. so it's not underpowered.

What works:

Run the server on COMPUTER B. We can run the client on COMPUTER A and connect to the server without any problems. We can also run the client on COMPUTER B and connect to the server, but it's unplayable.

What doesn't work:

Run the server on COMPUTER A. Running the client on COMPUTER A works and gives a decent frame rate etc. However, from COMPUTER B when we try to connect it appears to work, but then 30 seconds later it times out. The server reports that the connection has been made and then lost.

We have Sygate personal firewall on COMPUTER A which has a 1GB network card. This computer is also running IPv6.

We have Comodo firewall pro on COMPUTER B which has a 100MB network card. This computer is still running IPv4.

The two are connected via a 1GB switch.

Both firewalls have rules set up to allow all local traffic of any protocol on any port through. We haven't tried turning the firewalls off (that's for this afternoon), but I thought I'd see if there was anything else I could try.

UPDATE

The messages in the server are:

[INFO] User [/192.168.2.6:3222] logged in

then 30 seconds or so later:

[INFO] User lost connection: End of stream

We've just tried with firewalls on both computers disabled and got the following:

[INFO] Disconnecting /192.168.2.6:3172: Took too long to log in

Still at complete loss, but it does appear to indicate that it's a network connectivity issue.

UPDATE 2

I should have added that we're running XP SP3 on both machines. COMPUTER A is new hardware and (obviously) a new installation of all drivers and software. COMPUTER B is old hardware (hence the problem) but has recently been reformatted/reinstalled.

UPDATE 3

Just tried again with server version 0.2.4 and the latest client and we get the following message on the server log:

[WARNING] Can't keep up! Did the system time change, or is the server overloaded?

This is with nothing else running on this machine and no one connected. I would have thought an Intel Core 2 Duo E7500 @ 2.93GHz with 2 Gb of RAM and Physical Address Extension should be able to run the server software OK.

share|improve this question
1  
I'd use Wireshark on both ends to make further investigation, since I don't have any clue about why there is so much asymmetry between the two ends. –  badp Sep 26 '10 at 16:15
    
@badp - tried that, but not sure what it's telling me ;) Getting some [TCP retransmission] statements, but no idea what that means. –  ChrisF Sep 26 '10 at 17:08
    
If I'm not completely out of it, a TCP retransmission happens due to packet loss. You might just be onto something... –  badp Sep 26 '10 at 17:43
1  
Yeah, it sounds like a bad connection/cable somewhere or a bad switch. I'd start with your basic ICMP tools: ping and tracert between the computers. See if one is accidentally routing to a non-local switch. I've had many weirdly long local pings turn out to be slightly broken LAN cables, myself. Also, if your switch is using IPv6, maybe there is some 6-to-4 issue with it and you could try using IPv6 on both machines. Although that seems unlikely to me. –  WorldMaker Sep 27 '10 at 9:37
    
@WorldMaker - interesting. I'll check the cables for damage. –  ChrisF Sep 27 '10 at 10:11
show 2 more comments

5 Answers

up vote 4 down vote accepted

On Service Pack 3, there seems to be a lot of problems you apparently can't get around.

Quoting this topic: http://www.minecraftforum.net/viewtopic.php?f=1013&t=22790#p412298

[INFO] Player1 lost connection: End of stream
Researching
Problem:
  You're running Windows XP Service Pack 3.
Solution:
  Run Minecraft on a Virtual Machine on your computer,
  or use one with a different OS. Sorry!
share|improve this answer
    
Interesting, but I would have expected to get the same error on both machines and a client on COMPUTER A can connect to the server on COMPUTER A quite happily. –  ChrisF Sep 28 '10 at 14:25
add comment

Yo, I was having the same problem. I found a way. The problem was caused by Atheros L1 network adapter "number of receive buffers" count. The default is 256; after I increased it to 1024, the problem disappeared. This picture shows you how.

share|improve this answer
add comment

Update your network adapter driver on the host computer. Worked for me. I'm going to have a stab and also say that you are using XP SP3 on the host computer. Common problem, apparently...

share|improve this answer
    
XP SP3 on both machines. COMPUTER A is new hardware. COMPUTER B is old hardware but has recently been reformatted/reinstalled. –  ChrisF Sep 28 '10 at 10:51
add comment

A quick guess on this is the fact that you may be using your static ip address on client 2. If client 1 and client 2 are on a router, find the Dynamic IP of the computer that hosts the server. and try connecting with that. Also port forward if you haven't.

share|improve this answer
5  
You don't have to port forward if you are connecting locally... –  DemonicMushy Sep 11 '11 at 12:23
    
It is still a good idea for using 127.0.0.1 –  Timtech Sep 21 '13 at 18:24
add comment

Check the IP addresses of the two computers. If they both have the same IP address, then that is the cause of the problem.

You can check IP addresses like this:

  • Press Windows-Key + R
  • Type CMD
  • Type ipconfig into command prompt
  • Hit enter
  • Scroll down to where it says: Ipv4 Address
  • Your ip address is listed there!

I hope this helps!

share|improve this answer
    
This usually never happens; although they may have changed and as a result you can't access it. –  Timtech Sep 21 '13 at 18:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.