恍若如梦 发表于 2003-5-15 02:11:27

请问一下关于WebMod在线管理页面的端口问题

以成功安装并显示出服务器的信息,但端口问题得不到解决,请高手帮看看:
由于服务器只有一个,所以开了三个端口,端口号分别为27015;27016;27017
但WebMod却无法显示其它的端口号,就显示27015,并且是谁先开而显示谁.有没有在同一个页面下显示3个端口的信息,或许可允许显示3个端口呢?谢谢各位了

playerkiller 发表于 2003-5-15 07:53:00

应该是三个端口都可以

使用方法是
第一个服务器http://IP:27015
第二个服务器http://IP:27016
第三个服务器http://IP:27017

恍若如梦 发表于 2003-5-15 09:03:34

请问上面的这是在那里设置呢?因为重启服务器的时候,就会出现侦听的端口是27015,三个服务器重启时候就只侦听一个端口啊,并没有学习到他所对应的端口呢.
三个服务器启动都显示:
L 05/15/2003 - 09:04:15: Listening on port : 27015

L 05/15/2003 - 09:04:15: Now ready : listening...
端口号只认27015啊

恍若如梦 发表于 2003-5-15 09:15:16

因为当初装CS时候只安装在一个目录下面,并开三个窗口,不知道是不是这样的缘故呢?

playerkiller 发表于 2003-5-15 12:17:09

faint

我说呢
我是安装到两个目录下,各占一个端口和IP,但实际上是一台机器两个IP。
都是27015,只是IP不同,根本没有问题。

而且你用的27015、27016、27017有没有在HLDS的启动参数里注明?
下面是英文的readme,你先看看吧。
WebMod is a multi-threaded HTTP Web server embedded into a MetaMod plugin (Linux and Win32 compatible). It allows you not to use specific tools like HLSW or AgentOrange, or additional software such as a web server, PHPRCon or a Perl capable shell account to run PsychoQuery.

Once installed, you can access it on http://server_ip:server_port/ ; for example if you connect to 123.45.67.89:27016 to play, you just have to add « http:// » at the beginning and give this to your web browser : http://123.45.67.89:27016/.

This addon provides a public live status page, and a private admin area (password-protected, currently using RCon password).

But this plugin is not only what's contained in the zip file : WebMod includes a script preprocessor that lets you customize its web pages totally, and to create yours at your own convenience. W scripting language reference document is provided in the archive. You'll learn how to use { } blocks, game server and HTTP related variables, etc.
一个启动跟一个webmod,推荐最好不要在一个目录,否则如果你的那个psy什么排行榜的话,日志都可能会有问题。

我这里一个服务器上有两个,完全测试通过。

恍若如梦 发表于 2003-5-15 12:38:31

不,我在HLDS下注明了,不然怎么可能有三个窗口呢?我用PS完完全全没有问题.
请看看服务器上的排行榜吧.
http://www.lztvnet.com/csgame/index.php
还有,POST的问题,到底是+27015,还是-27015呢?
HLDS参数设置:
D:\HLServer\hlds.exe -game cstrike -port 27015 +secure +maxplayers 32-nomaster +sv_lan 1 +map de_dust2 +mapcyclefile mapcycle2.txt +servercfgfile server3.cfg


D:\HLServer\hlds.exe -game cstrike -port 27016 +maxplayers 22 +secure +map awp_map_32b -nomaster +sv_lan 1 +mapcyclefile mapcycle3.txt +servercfgfile server4.cfg

D:\HLServer\hlds.exe -game cstrike -port 27017 +secure +maxplayers 32-nomaster +sv_lan 1 +map de_dust2 +mapcyclefile mapcycle2.txt +servercfgfile server3.cfg

恍若如梦 发表于 2003-5-15 12:51:31

Re: faint

最初由 playerkiller 发表
我说呢
我是安装到两个目录下,各占一个端口和IP,但实际上是一台机器两个IP。
都是27015,只是IP不同,根本没有问题。

而且你用的27015、27016、27017有没有在HLDS的启动参数里注明?
下面是英文的readme,你先看看吧。
WebMod is a multi-threaded HTTP Web server embedded into a MetaMod plugin (Linux and Win32 compatible). It allows you not to use specific tools like HLSW or AgentOrange, or additional software such as a web server, PHPRCon or a Perl capable shell account to run PsychoQuery.

Once installed, you can access it on http://server_ip:server_port/ ; for example if you connect to 123.45.67.89:27016 to play, you just have to add « http:// » at the beginning and give this to your web browser : http://123.45.67.89:27016/.

This addon provides a public live status page, and a private admin area (password-protected, currently using RCon password).

But this plugin is not only what's contained in the zip file : WebMod includes a script preprocessor that lets you customize its web pages totally, and to create yours at your own convenience. W scripting language reference document is provided in the archive. You'll learn how to use { } blocks, game server and HTTP related variables, etc.
一个启动跟一个webmod,推荐最好不要在一个目录,否则如果你的那个psy什么排行榜的话,日志都可能会有问题。

我这里一个服务器上有两个,完全测试通过。

一台服务器装双网卡,两个IP地址,端口都是27015,肯定是没有问题的,问题在于,如何在同一个IP地址、不同的端口号、同一个CS目录下使用三个端口分别看WEBMOD的情况,目前有谁知道呢>谢谢大家了.

playerkiller 发表于 2003-5-16 13:31:46

我没装双网卡

只有一个网卡,不过是利用了2000的多IP绑定功能。

回来我测试一下你说的情况吧。

我这里用的是+号,我看了一下你的服务器确实不行。

等我测试完再说......

恍若如梦 发表于 2003-5-16 16:16:49

"我看了一下你的服务器确实不行"
请问这句话是什么意思?安全不行还是配置不行?请说清楚一些.

恍若如梦 发表于 2003-5-17 10:23:18

问题已解决,谢谢各位
页: [1] 2
查看完整版本: 请问一下关于WebMod在线管理页面的端口问题