lan到lan 网络不稳定_为什么我无法连接到家庭网络上的LAN游戏?

lan到lan 网络不稳定

lan到lan 网络不稳定

LAN games are a time honored tradition wherein you can connect to people directly on your local network and enjoy low ping times and multiplayer fun, but what if the computers refuse to communication with each other? Read on as we solve a fellow reader’s LAN woes and get him back in the game.

局域网游戏是一种历史悠久的传统,您可以直接与您本地网络上的人建立联系,并享受低ping时间和多人游戏的乐趣,但是如果计算机拒绝相互通信该怎么办? 在我们解决其他读者的LAN困扰并让他重回游戏中时,请继续阅读。

Dear How-To Geek,

亲爱的How-To Geek,

I’ve been following your Guide to Minecraft series with great success, but I have hit a bit of a hiccup. My son and I have been going through it together but when we got to lesson 14 and 15 (the ones focused on local multiplayer and internet multiplayer) I found that I couldn’t connect to my son’s computer over the LAN. However, both our computers can connect to servers on the Internet and his computer can connect to mine if I share my map with him.

我一直很成功地关注您的《我的世界》指南系列,但是我遇到了一些麻烦。 我的儿子和我一直在一起学习,但是当我们进入第14和第15课(专注于本地多人游戏和互联网多人游戏)时,我发现我无法通过LAN连接到儿子的计算机。 但是,如果我与他共享地图,我们的两台计算机都可以连接到Internet上的服务器,并且他的计算机也可以连接到我的服务器。

Both computers are running Windows 7, both are on the same hard-wired LAN, and we’re running the exact same versions of Minecraft. I can ping his computer, and he can ping mine but we can’t connect to play. I can even see his game when he uses the “open to LAN” function in Minecraft, but I can’t join it. What’s the deal? The only real difference between our two machines, hardware specs aside, is that I’m running an administrator account and he’s running a limited account. How that would impact network functionality, however, I’m not sure.

两台计算机都运行Windows 7,并且都在同一硬线LAN上,并且我们正在运行完全相同的Minecraft版本。 我可以ping他的计算机,他也可以ping我的计算机,但是我们无法连接游戏。 当他在Minecraft中使用“向局域网开放”功能时,我什至可以看到他的游戏,但我无法加入。 这是怎么回事? 除了硬件规格外,我们两台计算机之间的唯一真正区别是,我正在运行一个管理员帐户,而他正在运行一个受限帐户。 但是,我不确定这将如何影响网络功能。

Where should I start troubleshooting the problem?

我应该从哪里开始解决问题?

Sincerely,

真诚的

Minecraft Divided

我的世界划分

99 percent of the time when a user has a connectivity issue that doesn’t involve loss of the entire network connection the problem can be traced back to a firewall rule. The fact that your son’s computer is set up as a limited account (which is an excellent idea, especially for a computer used by a child) leads us to believe even more strongly that it’s a firewall issue.

当用户遇到的连接问题不涉及整个网络连接中断的情况下,有99%的时间可以追溯到防火墙规则。 您儿子的计算机设置为受限帐户的事实(这是个好主意,尤其是对于孩子使用的计算机而言,这是个好主意),这使我们更加坚信这是防火墙问题。

Here’s what likely happened and why it only affects his computer. When you installed Minecraft, ran it, and went to run a local LAN game there’s a good chance that the Windows firewall system asked you if you wanted to authorize Java to communicate through the firewall (if you hadn’t already done so in the past already). Without thinking much of it, you authorized it and got on with playing the game.

这是可能发生的情况以及它仅影响他的计算机的原因。 当您安装Minecraft,运行它并运行本地LAN游戏时,Windows防火墙系统很可能会询问您是否要授权Java通过防火墙进行通信(如果您以前从未这样做过)已经)。 不用多考虑,您就授权了它并继续玩游戏。

On your son’s computer, however, that authorization never happened because you can’t change the firewall rules on a limited account without the administrative password. So in instances where an administrative use fails to authorize an application or in cases, like your son’s, where they can’t authorize it, they end up with an application that can’t traverse the firewall. The reason this issue is particularly difficult to sort out is that the Windows Firewall is focused on restricting incoming communication, not outgoing communication. So both of your computers can easily connect to the Minecraft multiplayer servers on the internet, but the firewall rules trip up your son’s computer from acting as a host for the game because he cannot accept incoming connections.

但是,在您儿子的计算机上,该授权从未发生过,因为您无法在没有管理密码的情况下更改受限帐户上的防火墙规则。 因此,在管理用途无法授权应用程序的情况下,或者在您的儿子无法授权应用程序的情况下(例如您儿子的情况),它们最终会导致无法穿越防火墙的应用程序。 这个问题特别难以解决的原因是Windows防火墙专注于限制传入通信,而不是传出通信。 因此,您的两台计算机都可以轻松连接到Internet上的Minecraft多人服务器,但是防火墙规则使您儿子的计算机无法充当游戏主机,因为他不能接受传入的连接。

Fortunately fixing the problem is simple. All you need to do is jump into the Windows Firewall, look for the firewall rule pertaining to the application in question, and enable access.

幸运的是,解决问题很简单。 您需要做的就是跳入Windows防火墙,查找与该应用程序有关的防火墙规则,然后启用访问权限。

In the case of Minecraft there isn’t a distinct “Minecraft” entry as there would be for many games because Minecraft runs completely in Java. As such, you need to look for entries for Java which typically take the form of “Java(TM) Platform SE binary.” Don’t be surprised if there are multiple entries for Java; go ahead and allow all of them.  (If you want to be very particular about it you can check which Java executable your Minecraft installation uses and then check the “Details…” button to isolate the specific Java entry but that’s a lot of extra work.)

在Minecraft的情况下,没有像许多游戏那样有明显的“ Minecraft”条目,因为Minecraft完全以Java运行。 因此,您需要查找Java条目,这些条目通常采用“ Java(TM)平台SE二进制文件”的形式。 如果Java有多个条目,请不要感到惊讶; 继续并允许所有人。 (如果您想对此非常讲究,可以检查您的Minecraft安装使用了哪个Java可执行文件,然后单击“详细信息...”按钮来隔离特定的Java条目,但这是很多额外的工作。)

After making those changes you should find that the secondary computer can accept incoming game requests with ease. Should you run into a similar problem in the future where an application seems to work but won’t accept incoming requests, you can head right back to the Firewall control panel and make a game-saving adjustment.

进行了这些更改之后,您应该发现辅助计算机可以轻松接受传入的游戏请求。 如果将来在应用程序似乎可以运行但不接受传入请求的情况下遇到类似问题,则可以直接回到防火墙控制面板并进行节省时间的调整。



Have a pressing tech question? Shoot us an email and we’ll do our best to answer it.

有紧迫的技术问题吗? 向我们发送电子邮件,我们将尽力答复。

翻译自: https://www.howtogeek.com/194858/ask-htg-why-cant-i-connect-to-lan-games-on-my-home-network/

lan到lan 网络不稳定

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值