sod妄想番号:局域网里无法连游戏

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/04 19:51:29
我们公司的IP是按部门划分的,比如市场部是109.1.1.*,技术部的是109.1.2.*如此类推,不同的部门间不能连星际,同一个部门可以连,这是为什么?我们的机子装的版本、协议都没问题。
我们试过改IP的不行呀,不改IP时通过搜索计算机还能看到对方的机器,并能互相传送文件,改了IP连网都上不了了!

还有人知道么?

这是根据子网和超网的划分得来的。由于网络号不同,等于把你们公司的网络又划分为不同的子网,你可以改变一下网关和子网掩码,你们几个玩星际的人可把IP设为如:192.1.255.1,192.1.255.2,192.1.255.3……就行了。但不能是192.1.255.0或是192.1.255.255.

公司的主路由器不要屏蔽掉星际的端口就好了,我们学校就是这样的,星际的端口在防火墙里面应该有吧,通常是6112端口,有时是5660端口,装天网防火墙,在应用程序网络状态中可以看到星际的TCP和UDP用的是什么端口。
下面是暴雪的技术支持文章
Port Information for Firewalls, Proxies, and Routers
Who should I contact regarding the configuration of my firewall, proxy, or router?
Blizzard does not support proxies (Internet connection sharing), firewalls, or routers. The settings provided are suggested settings only. However, we do have some suggested settings for BlackICE, ZoneAlarm?Pro, Sygate Personal Firewall Pro, and Windows XP's Internet Connection Firewall.

You may need to contact your ISP or network administrator for assistance if you have opened the correct ports but still cannot connect or get others connected to you.

What do I need to know about ports?
Anytime your computer receives incoming data, it is sent to a "port". Your computer has many ports that can receive data, and different activities will utilize different ports.

How are ports being restricted?
Most proxy servers, firewalls, and other Internet connection sharing methods can restrict port access. Your configuration may be restricting packets from "unknown sources". In this case an "unknown source" would be defined as any IP address that you have not initiated the contact with. Once you contact the IP address, your proxy and/or firewall considers it "safe", or a "known source", since you initiated the contact. When you create a game on Battle.net, other users need to be able to contact you in order to join. In other words, they need to be able to initiate the contact. This becomes the real problem if your connection is restricting them from contacting you.

What ports are required and with what settings?
In order to connect to Battle.net, thru your Local Area Network, while allowing others to connect to games you create, make sure you have the following ports setup as described below.

Diablo, Warcraft II Battle.net Edition, and StarCraft:
Allow port 6112-6119 TCP and UDP out and in

Diablo II:
Allow port 6112 TCP out and allow established sessions in
Allow port 4000 TCP out (realm games)
Allow port 4000 TCP out and in (hosting open games only)

Warcraft III:
Allow port 6112 TCP out and allow established sessions in
Allow port 6112 TCP in (hosting custom games)
Allow port 6113-6119 TCP out and in (hosting custom games if you抳e changed the default port in the Options/Gameplay screen)

Notes:
"Established sessions in" applies to firewalls only. NAT will allow the "established sessions in" automatically.
NAT users will need to map any "in"s (hosting games only) to the IP of the computer hosting the game.
Warcraft III is the only Blizzard Title that currently supports multiple players hosting games behind NAT.

What do I do if I am still having problems connecting using a firewall, router, or proxy?
If you need further help configuring your firewall, router, or proxy you will need to contact the manufacturer for assistance.

There is also a third party site (http://www.portforward.com) which may provide help on how to forward the ports on your router.