10 10 月 2026
本文只讲 Windows 系统开服。用 Linux 的朋友请转:《V Rising开服保姆级教程(Linux版)》→ https://z0w.cn/wiki/v-rising-server-guide.html
Windows 环境准备见:《Windows 云服务器开服通用前置教程》→ https://z0w.cn/wiki/windows-gameserver-setup.html

V Rising 是吸血鬼题材的生存建造游戏,支持最多 40 人,城堡建造和 PVP 攻城是核心玩法,非常适合开一个长期服。


一、开服前必读:三个坑

坑 1:官方服务端只有 Windows 版
Steam AppID 1829350 的专用服务端只有 Windows 二进制。Windows 开服是官方路径,最省事。

坑 2:配置要复制到 save-data 目录,否则更新会丢
首次启动后,ServerHostSettings.json 和 ServerGameSettings.json 在程序目录下。必须复制到 save-data\Settings\,否则下次更新时会被覆盖,你的配置全没了。

坑 3:RCON 端口和游戏端口容易混淆
游戏端口默认 9876,查询端口 9877,RCON 是 TCP 25575(RCON 默认关闭,开了才需要)。


二、配置与端口规划

项目要求
系统Windows Server 2016 / 2019 / 2022(64 位)
CPU4 核
内存4G 起(20-40 人建议 8-16G)
硬盘10G SSD

端口表:

端口协议用途必开
9876UDP + TCP游戏流量✅
9877UDP + TCPSteam 查询✅
25575TCPRCON(默认关)按需
3389TCP远程桌面✅

三、安装运行库

  • Visual C++ 2015-2022 Redistributable (x64)
  • .NET 6.0 Runtime(部分版本需要)

四、SteamCMD 下载服务端

cd C:\steamcmd
steamcmd.exe +force_install_dir C:\VRisingServer +login anonymous +app_update 1829350 validate +quit

装完主程序:C:\VRisingServer\VRisingServer.exe


五、首次启动生成配置

cd C:\VRisingServer
VRisingServer.exe -persistentDataPath ./save-data

跑起来后关掉,配置生成在:

C:\VRisingServer\VRisingServer_Data\StreamingAssets\Settings\
├── ServerHostSettings.json
└── ServerGameSettings.json

⚠️ 关键一步:复制到 save-data

mkdir C:\VRisingServer\save-data\Settings
copy C:\VRisingServer\VRisingServer_Data\StreamingAssets\Settings\ServerHostSettings.json C:\VRisingServer\save-data\Settings\
copy C:\VRisingServer\VRisingServer_Data\StreamingAssets\Settings\ServerGameSettings.json C:\VRisingServer\save-data\Settings\

不复制,更新一次配置就没了。


六、编辑 ServerHostSettings.json

用记事本或 VSCode 打开 save-data\Settings\ServerHostSettings.json:

{
  "Name": "我的夜族服务器",
  "Description": "和朋友一起建城堡",
  "Port": 9876,
  "QueryPort": 9877,
  "MaxConnectedUsers": 20,
  "MaxConnectedAdmins": 2,
  "SaveName": "world1",
  "Password": "进服密码",
  "ListOnMasterServer": true,
  "AutoSaveCount": 30,
  "AutoSaveInterval": 300,
  "GameSettingsPreset": "StandardPvP",
  "Rcon": {
    "Password": "管理员密码",
    "Enabled": false,
    "Port": 25575
  }
}

关键项:

项说明
Name服务器列表显示名
Port / QueryPort游戏/查询端口
MaxConnectedUsers玩家上限(最高 40)
Password进服密码,公开服留空
ListOnMasterServer是否出现在公开列表
SaveName存档名,改名可开多个世界
GameSettingsPresetStandardPvP / StandardPvE 等

ServerGameSettings.json 管游戏内规则:难度、昼夜时长、资源倍率、PVP 规则、城堡衰减等,可按需要调整。


七、启动脚本

新建 start_server.bat:

@echo off
cd /d C:\VRisingServer
VRisingServer.exe -persistentDataPath ./save-data -serverName "我的夜族服务器" -saveName "world1" -logFile "./logs/VRisingServer.log"

(也可以直接复制官方的 start_server_example.bat 改成 start_server.bat 来用)


八、放行端口

netsh advfirewall firewall add rule name="VRising Game" dir=in action=allow protocol=UDP localport=9876
netsh advfirewall firewall add rule name="VRising Game TCP" dir=in action=allow protocol=TCP localport=9876
netsh advfirewall firewall add rule name="VRising Query" dir=in action=allow protocol=UDP localport=9877
netsh advfirewall firewall add rule name="VRising Query TCP" dir=in action=allow protocol=TCP localport=9877

NAT 型服务器还要在服务商控制台映射 9876 和 9877。详见:《NAT 端口映射完全指南》→ https://z0w.cn/wiki/nat-port-forwarding-guide.html


九、常驻与自启

nssm install VRising "C:\VRisingServer\VRisingServer.exe"
nssm set VRising AppParameters "-persistentDataPath ./save-data"
nssm set VRising AppDirectory C:\VRisingServer
nssm start VRising

十、客户端进服

游戏内 → 线上游戏 → 直接连接 → 输入 外网IP:外网端口。

也可以在服务器列表里按名字搜(需 ListOnMasterServer: true)。


十一、多开世界

用不同的 SaveName 和端口就能在一台机器上开多个服:

VRisingServer.exe -persistentDataPath ./save-data -saveName "world2" -port 9886 -queryPort 9887

端口之间至少间隔 2。


十二、常见问题

Q:更新后配置没了?
没把配置文件复制到 save-data\Settings\。回到第五节操作。

Q:服务器不在列表?
ListOnMasterServer 是否为 true;9877 查询端口是否放行(TCP 和 UDP 都要)。

Q:玩家提示 "Server not responding"?
查询端口 9877 被挡住了。

Q:崩溃或起不来?
检查 VC++ 运行库;看 logs 目录下的日志;配置文件 JSON 格式是否合法。

Q:怎么更新?

taskkill /F /IM VRisingServer.exe
cd C:\steamcmd
steamcmd.exe +force_install_dir C:\VRisingServer +login anonymous +app_update 1829350 +quit

更新前备份 save-data 整个目录。详见:《存档备份与自动维护教程》→ https://z0w.cn/wiki/game-server-backup-guide.html


十三、总结

项目值
AppID1829350
游戏端口UDP + TCP 9876
查询端口UDP + TCP 9877
RCONTCP 25575(默认关)
配置目录save-data\Settings\(更新安全)
存档目录save-data\
人数上限40
推荐系统Windows(官方路径)

📌 有问题评论区见。
我们家的 Windows 云服务器原生支持 V Rising 开服,RDP 直连、控制台自助映射端口,NAT 型价格更省 → 财富云计算 https://z0w.cn
延伸阅读
  1. 高防误区与避坑清单:25 个坑+下单前必问 14 问+到货验货流程
  2. DNS 攻击防护专题:劫持、隧道、投毒、放大四类攻击与 DNSSEC
  3. 电商大促防攻击预案:T-14 到当天的分级响应与降级开关
  4. 源站真实 IP 隐藏完全指南:六大暴露面排查+NAT 型终极方案
  5. 日志分析找攻击源:Nginx 日志三维度分析法与证据固定
  6. 攻击应急响应手册:六阶段响应流程,从确认到复盘的照做清单
  7. iptables 抗 DDoS 配置模板:状态过滤+SYN 防护+防扫描+游戏服版
  8. OpenResty Lua 自研 WAF:动态限流+攻击特征检测+Redis 黑名单
更多阅读
  1. 上一篇:森林The Forest开服保姆级教程(Linux版):Wine部署与存档要点
  2. 下一篇:V Rising夜族崛起开服保姆级教程(Linux版):Wine部署与配置保存要点
发表评论 2

    1. V Rising夜族崛起开服保姆级教程(Linux版):Wine部署与配置保存要点 - 			财富云计算 - 维基百科的头像
      V Rising夜族崛起开服保姆级教程(Linux版):Wine部署与配置保存要点 - 财富云计算 - 维基百科  

      [...]本文只讲 Linux 系统开服。用 Windows 的朋友请转:《V Rising开服保姆级教程(Windows版)》→ https://z0w.cn/wiki/v-rising-server-guide-windows.htmlLinux 系统准备见:《Linux 云服务器开服通用前置教程》→ https://z0w.cn/wiki/linux-gameserver-setup.html一、先说[...]

    2. Steam 游戏配置与开服教程总索引:一页查清要吃多少配置、教程在哪 - 			财富云计算 - 维基百科的头像
      Steam 游戏配置与开服教程总索引:一页查清要吃多少配置、教程在哪 - 财富云计算 - 维基百科  

      [...]这是本站长期维护的游戏配置与教程总索引。想开服,先在这页搞清楚两件事:你的游戏要吃多少配置、你的系统该看哪篇教程。建议收藏——换游戏、加 MOD、人数变多时,回来核对一遍能省掉大部分"卡爆了"和"连不上"。搭配阅读:还没买服务器?先看购前决策索引(预算分级 / NAT vs 独立 IP / 避坑清单);端口映射看不懂?先看端口速查表(40+ 游戏端口协议一页查清)。一、全游戏配置需求速查表下表按"[...]