Jrohy / trojan

trojan多用户管理部署程序, 支持web页面管理
GNU General Public License v3.0
5.4k stars 1.52k forks source link

change trojan port #808

Open afshin1394 opened 1 year ago

afshin1394 commented 1 year ago

Dear, I need to modify trojan running port on my server but when I change it in config file located in "/usr/local/etc/trojan/config.json" and restart the trojan service it doesn't get change. for instance I change remote-port : 80 to remote-port:2083 and then I restart trojan with:

systemctl restart trojan 
systemctl restart trojan-web

but the running port doesn't get change can you please support

nwpulele commented 1 year ago

Update to the latest version, then use trojan port to change remote port.