Skip to content

解决trojan-web.service中修改web端口不生效 #868

Open

Description

@BOJACK0428

https://github.com/Jrohy/trojan/wiki/%E4%BF%AE%E6%94%B9web%E7%AB%AF%E5%8F%A3
按照页面修改trojan-web.service配置文件并执行重启命令后,仍然不生效,可以在shell启动命令后添加--host以及-p即可指定'该次会话'启动的监听地址以及端口号( 例如trojan web --127.0.0.1 -p 90 ,启动后web端就运行在127.0.0.1:90上了,可以仅修改host或者仅修改port都可以)具体其他的命令可以通过 trojan web --help 获取,注意该方法仅能在本次命令窗口中生效,如果需要后台运行需要添加后台运行的linux命令 自行搜索即可。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions