v2fly / v2ray-step-by-step

This repo is a fork of ToutyRater/v2ray-guide, we aim to provide a new step-by-step guide of v2ray
https://guide.v2fly.org
Creative Commons Attribution 4.0 International
700 stars 420 forks source link

建议在“Docker 部署 V2Ray”章节添加提示不要仅监听本机 #284

Closed renaldo-chen closed 7 months ago

renaldo-chen commented 1 year ago

关联或新增的页面 / related page

https://github.com/v2fly/v2ray-step-by-step/tree/transifex/zh_CN/app/docker-deploy-v2ray.md

描述 / description of the feature

在使用docker容器的配置下,如果在inbound下添加"listen": 127.0.0.1,则会导致容器内的V2Ray监听不到容器外的信息,在这种情况下V2Ray相当于没有收到任何讯息,日志内也不会有新内容,这一错误难以排查,建议添加一则提示避免这种情况。