Jump to content

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

Connecting two computers of the same IP


  • Please log in to reply
4 replies to this topic

#1

scension
    scension

    Newly Spawned

  • Members
  • 1 posts

Posted 31 August 2010 - 11:57 AM

I've recently purchased minecraft and I want to play with my friend
The problem is:
1. Once I start the minecraft server and try to connect to it, it fails to connect

2. How can I connect two computers of the same IP to one server? (We're both in the same house)  :cobblestone:

Register or log in to remove.

#2

Morrolan
    Morrolan

    Diamond Miner

  • Members
  • 816 posts
  • Location: Switzerland

Posted 31 August 2010 - 12:19 PM

Connect to the server with the internal ip, then it will work fine.
(As long as each of you has an own account ofcourse)
External server browser: Created by me, made for you.
Not working atm, and will not get updated in the near future, sorry.

#3

Norix
    Norix

    Glowstone Miner

  • Members
  • 3743 posts
  • Location: East Coast USA
  • Minecraft: Norix

Posted 01 September 2010 - 12:21 AM

'localhost' or '127.0.0.1' should connect you two just fine as long as you have two different accounts.

#4

Morrolan
    Morrolan

    Diamond Miner

  • Members
  • 816 posts
  • Location: Switzerland

Posted 01 September 2010 - 06:24 PM

Norix said:

'localhost' or '127.0.0.1' should connect you two just fine as long as you have two different accounts.

Are you kidding? This only works if they'd play on the server. If not they need to use the internal ip.
External server browser: Created by me, made for you.
Not working atm, and will not get updated in the near future, sorry.

#5

Zuriki
    Zuriki

    Forum/Wiki Sponsor

  • Curse Premium
  • 5317 posts
  • Location: The Netherlands
  • Minecraft: gdscei

Posted 01 September 2010 - 08:42 PM

The first problem is difficult to diagnose. There are a number of factors. For me, the usual suspect is a firewall routing issue.

You see, my firewall requires me to specifically point to an IP for which to route connections from a port.

In the 192.168.x.x range. Sometimes this changes unexpectedly causing connection issues, even on a local level. If you have to manually forward ports (especially if it's directly on the router) this is something to check. You can get the information for this from the Command Prompt. Open it up and type: "ipconfig /all"

Assuming you're on a desktop connection this will be listed under an Ethernet connection. The IP you want is the IPv4 Address, it will say something like this "192.168.0.4 (Preferred)" of course, this varies from computer to computer.

LAN IP for incoming connections in firewall rules.

The second issue, if you're connecting 2 computers in the same house to a server also hosted in the same house. Well, the first problems solution also comes into play here. See, that LAN IP for the firewall rule is actually the IP of which computer receives the inbound information.

So, if you're on the same network, then you can enter that LAN IP from any computer connected to the network and it should connect without any IP conflict.

Remember, localhost and 127.0.0.1 only work when the server host and the client are at the SAME terminal. If they are JUST sharing the same NETWORK, then this doesn't work.