本文只讲 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 位) |
| CPU | 4 核 |
| 内存 | 4G 起(20-40 人建议 8-16G) |
| 硬盘 | 10G SSD |
端口表:
| 端口 | 协议 | 用途 | 必开 |
|---|---|---|---|
| 9876 | UDP + TCP | 游戏流量 | ✅ |
| 9877 | UDP + TCP | Steam 查询 | ✅ |
| 25575 | TCP | RCON(默认关) | 按需 |
| 3389 | TCP | 远程桌面 | ✅ |
三、安装运行库
- 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 | 存档名,改名可开多个世界 |
GameSettingsPreset | StandardPvP / 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=9877NAT 型服务器还要在服务商控制台映射 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
十三、总结
| 项目 | 值 |
|---|---|
| AppID | 1829350 |
| 游戏端口 | UDP + TCP 9876 |
| 查询端口 | UDP + TCP 9877 |
| RCON | TCP 25575(默认关) |
| 配置目录 | save-data\Settings\(更新安全) |
| 存档目录 | save-data\ |
| 人数上限 | 40 |
| 推荐系统 | Windows(官方路径) |
📌 有问题评论区见。
我们家的 Windows 云服务器原生支持 V Rising 开服,RDP 直连、控制台自助映射端口,NAT 型价格更省 → 财富云计算 https://z0w.cn
延伸阅读
- 网站环境怎么选:LNMP 手动 / 宝塔面板 / Docker / 云开发
- 问卷表单系统搭建:SurveyKing / Formbricks,数据自己收
- 图床搭建:Lsky Pro / Lychee,自托管图片托管方案
- 邮件列表搭建:listmonk 自托管 Newsletter,把读者握在自己手里
- 文档站点搭建:MkDocs / VuePress / Docsify,产品文档与技术手册方案
- RSS 阅读器搭建:FreshRSS 自托管,把信息流拿回自己手里
- 短链接服务搭建:Shlink 自托管,链接数据自己掌握
- 网站状态监控页搭建:Uptime Kuma,服务器挂了第一时间知道

[...]本文只讲 Linux 系统开服。用 Windows 的朋友请转:《V Rising开服保姆级教程(Windows版)》→ https://z0w.cn/wiki/v-rising-server-guide-windows.htmlLinux 系统准备见:《Linux 云服务器开服通用前置教程》→ https://z0w.cn/wiki/linux-gameserver-setup.html一、先说[...]
2026-10-10 回复
[...]这是本站长期维护的游戏配置与教程总索引。想开服,先在这页搞清楚两件事:你的游戏要吃多少配置、你的系统该看哪篇教程。建议收藏——换游戏、加 MOD、人数变多时,回来核对一遍能省掉大部分"卡爆了"和"连不上"。搭配阅读:还没买服务器?先看购前决策索引(预算分级 / NAT vs 独立 IP / 避坑清单);端口映射看不懂?先看端口速查表(40+ 游戏端口协议一页查清)。一、全游戏配置需求速查表下表按"[...]
2026-10-18 回复