Author Topic: Can't connect over LAN  (Read 1470 times)

Offline TheEntropy

  • Newbie
  • *
  • Posts: 2
Can't connect over LAN
« on: October 24, 2013, 10:23:44 am »
Hi

When I try to set up a 2 player game over LAN it doesn't work.
What's really odd is, when I am hosting the other player can't even see me when he clicks on multiplayer and when the other player's hosting, I can see him but the connection fails.
We tried to open the required ports and used direct connect.
Both our computers run on Win 7.
Any ideas what's going on?

Offline TheEntropy

  • Newbie
  • *
  • Posts: 2
Re: Can't connect over LAN
« Reply #1 on: October 25, 2013, 10:01:40 am »
Still no reply... are the devs even active in this forum?

Offline doctorfrog

  • Hero Member
  • *****
  • Posts: 591
Re: Can't connect over LAN
« Reply #2 on: October 26, 2013, 12:25:01 am »
Are you able to see each other in regular old Windows Network? Can you send and receive files between both PCs?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't connect over LAN
« Reply #3 on: October 29, 2013, 09:52:54 am »
Hey there, apologies for missing this earlier, there's a lot of forums and sometimes it forgets to notify us of a new post.

At any rate, generally speaking this is a firewall thing unless one of you has changed the port that you're trying to connect with.  The port is in the settings window, and you want to make sure that matches on both the host and the client or they can't connect.  Normally it's always the same unless someone changed it.

Beyond that, it's up to software firewalls, pretty well every time.  Sometimes people have more running than they realize, through their antivirus suite as well as their windows firewall or something along those lines.  Some firewalls require that the game be given both server and client style of exception permissions, others also require that the specific ports be allowed access.  It's really bizarre how many different ways there are with all the firewalls out there.

In terms of not being able to see one another naturally on the LAN, that's not all that uncommon, because a lot of firewalls block broadcast packets, which is how games say "here I am, there's a server here" to the network at large.  In those sorts of cases, what you have to do is find out your local IP of the host machine and directly connect in that fashion.  If you open a command prompt and type ipconfig /all, it will give you information on your local IP address.

Hope that helps!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!